From 66c09c83aa2f64b31dc657f90447c269621545b7 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 11 Nov 2011 20:40:18 -0800 Subject: Fix gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 0508cd3..dbcb669 100644 --- a/exec.c +++ b/exec.c @@ -280,7 +280,7 @@ PrintKeyTable(Bool exprs, FILE *fp) max--; for (j = 0; j <= max; j++) { register KeySym ks = keymap[j]; - char *s; + const char *s; if (ks != NoSymbol) s = XKeysymToString (ks); else -- cgit v1.2.3