From 798205ce070735c584c0e9a81ba8c289554c9843 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 15 Jul 2009 21:01:15 +0300 Subject: [PATCH] src/screen.c: fixed warning hint: char * -> const char * Signed-off-by: Sergei Trofimovich --- src/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.c b/src/screen.c index 4aa4e43d6..6f6c4035d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2649,7 +2649,7 @@ panel_set_sort_order (WPanel *panel, sortfn *sort_order) void set_panel_encoding (WPanel *panel) { - char *encoding = NULL; + const char *encoding = NULL; char *cd_path; #ifdef HAVE_CHARSET const char *errmsg;