From 4ff8f77f7bbdcbdf344eed9dfd0b16b75bc7c8fb Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 23 Jul 2015 09:44:06 -0400 Subject: [PATCH] elementary: Fix compiler warning disgarding const qualifier Summary: eina_environment_tmp_get returns a const char string, so we should declare the variable to match @fix Signed-off-by: Chris Michael --- src/bin/elm_prefs_cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/elm_prefs_cc.c b/src/bin/elm_prefs_cc.c index 5abccec..9f5da87 100644 --- a/src/bin/elm_prefs_cc.c +++ b/src/bin/elm_prefs_cc.c @@ -14,7 +14,7 @@ static void main_help(void); Eina_Prefix *pfx = NULL; char *file_in = NULL; -char *tmp_dir = NULL; +const char *tmp_dir = NULL; char *file_out = NULL; static const char *progname = NULL; -- 2.7.4