diff options
Diffstat (limited to 'libX11/src/StrKeysym.c')
-rw-r--r-- | libX11/src/StrKeysym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/StrKeysym.c b/libX11/src/StrKeysym.c index 4394e0cd2..12fce6872 100644 --- a/libX11/src/StrKeysym.c +++ b/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]; |