diff options
Diffstat (limited to 'Xi/listdev.c')
-rw-r--r-- | Xi/listdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/listdev.c b/Xi/listdev.c index 470fb52ee..6a10091d0 100644 --- a/Xi/listdev.c +++ b/Xi/listdev.c @@ -121,7 +121,7 @@ SizeDeviceInfo(DeviceIntPtr d, int *namesize, int *size) static void CopyDeviceName(char **namebuf, const char *name) { - char *nameptr = (char *) *namebuf; + char *nameptr = *namebuf; if (name) { *nameptr++ = strlen(name); |