Fix (correct, but harmless) const warning
authorDaniel Stone <daniel@fooishbar.org>
Wed, 21 Mar 2012 14:44:16 +0000 (14:44 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 21 Mar 2012 14:44:16 +0000 (14:44 +0000)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/expr.c

index 791d28e..9f8fb3d 100644 (file)
@@ -209,7 +209,7 @@ int
 LookupModMask(const void * priv, xkb_atom_t field, unsigned type,
               ExprResult * val_rtrn)
 {
-    char *str;
+    const char *str;
     Bool ret = True;
 
     if (type != TypeInt)