aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/KeysymStr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/KeysymStr.c')
-rw-r--r--nx-X11/lib/src/KeysymStr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/KeysymStr.c b/nx-X11/lib/src/KeysymStr.c
index ba6c8450a..a23bd2798 100644
--- a/nx-X11/lib/src/KeysymStr.c
+++ b/nx-X11/lib/src/KeysymStr.c
@@ -109,7 +109,7 @@ char *XKeysymToString(KeySym ks)
snprintf(buf, sizeof(buf), "%lX", ks);
resval.addr = (XPointer)buf;
- resval.size = strlen(buf) + 1;
+ resval.size = (unsigned)strlen(buf) + 1;
data.name = (char *)NULL;
data.type = XrmPermStringToQuark("String");
data.value = &resval;