devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4ff8f77f7bbdcbdf344eed9dfd0b16b75bc7c8fb

commit 4ff8f77f7bbdcbdf344eed9dfd0b16b75bc7c8fb
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Jul 23 09:44:06 2015 -0400

    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 <cp.mich...@samsung.com>
---
 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;

-- 


Reply via email to