summaryrefslogtreecommitdiff
path: root/app/xkbcomp/vmod.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
commit9b8aded9a19c91688b00e7bf46b0d1e750e6a470 (patch)
treee3ddb92d209bc7900db61285b0e9ca6ea0eb5c08 /app/xkbcomp/vmod.c
parent59965ed6bc7f64f2121f10508622f5d58c8a8c1b (diff)
Update to xkbcomp 1.0.4
Diffstat (limited to 'app/xkbcomp/vmod.c')
-rw-r--r--app/xkbcomp/vmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/xkbcomp/vmod.c b/app/xkbcomp/vmod.c
index 6d9628c58..9a8bd0d87 100644
--- a/app/xkbcomp/vmod.c
+++ b/app/xkbcomp/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);