aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 13:41:35 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 13:41:35 -0700
commit2ba4440d04b2bd92c559b706f73a8ea2d288c4ee (patch)
treed915a89a33b613e51fe3f9405eaa02510d226327 /com32/hdt/hdt-cli.c
parent39c3e64bd35b9c5c25fed0552d9b40158c53ed78 (diff)
downloadsyslinux-2ba4440d04b2bd92c559b706f73a8ea2d288c4ee.tar.gz
syslinux-2ba4440d04b2bd92c559b706f73a8ea2d288c4ee.tar.xz
syslinux-2ba4440d04b2bd92c559b706f73a8ea2d288c4ee.zip
hdt: fix hdt-cli.c compilation warning
We are missing a const qualifier. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 0d38fb2b..222480ee 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -54,8 +54,8 @@ struct cli_mode_descr *list_modes[] = {
* array of variables. There is no easy way around it besides declaring the arrays of
* strings first.
*/
-char *exit_aliases[] = {"q", "quit"};
-char *help_aliases[] = {"h", "?"};
+const char *exit_aliases[] = {"q", "quit"};
+const char *help_aliases[] = {"h", "?"};
/* List of aliases */
struct cli_alias hdt_aliases[] = {