summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:40:18 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-16 22:58:38 -0800
commit66c09c83aa2f64b31dc657f90447c269621545b7 (patch)
tree211b6c3ea96175770e25a62a1220d898f4a9e0c7 /exec.c
parent8751095511c7d9065ab12a40e90e38bdd9d728e4 (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
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