summaryrefslogtreecommitdiff
path: root/lib/libX11/src/StrKeysym.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-04-28 16:55:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-04-28 16:55:58 +0000
commit0cae302bce606d2e3d54c607c746f6d60c5416b9 (patch)
treeef254a5493e8697cad2b46ae9c1a8a3cce28514b /lib/libX11/src/StrKeysym.c
parent53ebe6270c1b1d9bddca8f89386433f823c784a9 (diff)
Update to libX11 1.6RC. No bump needed.
Diffstat (limited to 'lib/libX11/src/StrKeysym.c')
-rw-r--r--lib/libX11/src/StrKeysym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/StrKeysym.c b/lib/libX11/src/StrKeysym.c
index 4394e0cd2..12fce6872 100644
--- a/lib/libX11/src/StrKeysym.c
+++ b/lib/libX11/src/StrKeysym.c
@@ -94,7 +94,7 @@ XStringToKeysym(_Xconst char *s)
{
entry = &_XkeyTable[idx];
if ((entry[0] == sig1) && (entry[1] == sig2) &&
- !strcmp(s, (char *)entry + 6))
+ !strcmp(s, (const char *)entry + 6))
{
val = (entry[2] << 24) | (entry[3] << 16) |
(entry[4] << 8) | entry[5];