summaryrefslogtreecommitdiff
path: root/src/wcmXCommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmXCommand.c')
-rw-r--r--src/wcmXCommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
index 2ca7e01..b2ba5a5 100644
--- a/src/wcmXCommand.c
+++ b/src/wcmXCommand.c
@@ -455,7 +455,7 @@ static int wcmSetActionProperty(DeviceIntPtr dev, Atom property,
rc = wcmCheckActionProperty(priv, property, prop);
if (rc != Success) {
- char *msg = NULL;
+ const char *msg = NULL;
switch (rc) {
case BadMatch: msg = "BadMatch"; break;
case BadValue: msg = "BadValue"; break;