diff options
Diffstat (limited to 'libX11/src/KeyBind.c')
-rw-r--r-- | libX11/src/KeyBind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/KeyBind.c b/libX11/src/KeyBind.c index 221cedd8c..f22feca59 100644 --- a/libX11/src/KeyBind.c +++ b/libX11/src/KeyBind.c @@ -1014,7 +1014,7 @@ XRebindKeysym ( dpy->key_bindings = p; dpy->free_funcs->key_bindings = _XFreeKeyBindings; p->next = tmp; /* chain onto list */ - memcpy (p->string, (char *) str, nbytes); + memcpy (p->string, str, nbytes); p->len = nbytes; memcpy ((char *) p->modifiers, (char *) mlist, nb); p->key = keysym; |