From: Daniel Stone Date: Wed, 21 Mar 2012 14:44:16 +0000 (+0000) Subject: Fix (correct, but harmless) const warning X-Git-Tag: xkbcommon-0.2.0~718 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9468d84ad15f70ae580da0276065084396b2925e;p=platform%2Fupstream%2Flibxkbcommon.git Fix (correct, but harmless) const warning Signed-off-by: Daniel Stone --- diff --git a/src/xkbcomp/expr.c b/src/xkbcomp/expr.c index 791d28e..9f8fb3d 100644 --- a/src/xkbcomp/expr.c +++ b/src/xkbcomp/expr.c @@ -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)