From 2ba4440d04b2bd92c559b706f73a8ea2d288c4ee Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Tue, 1 Sep 2009 13:41:35 -0700 Subject: [PATCH] hdt: fix hdt-cli.c compilation warning We are missing a const qualifier. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c index 0d38fb2..222480e 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[] = { -- 2.7.4