summaryrefslogtreecommitdiff
path: root/vmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmod.c')
-rw-r--r--vmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmod.c b/vmod.c
index 6d9628c..9a8bd0d 100644
--- a/vmod.c
+++ b/vmod.c
@@ -90,7 +90,8 @@ Atom stmtName;
if (stmt->value==NULL)
return True;
else {
- char *str1,*str2 = "";
+ char *str1;
+ const char *str2 = "";
if (!ExprResolveModMask(stmt->value,&mod,NULL,NULL)) {
str1= XkbAtomText(NULL,stmt->name,XkbMessage);
ACTION1("Declaration of %s ignored\n",str1);