summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-01-29 10:47:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-02-04 10:53:59 +1000
commit6307d60dd592f4b438f880d02bde9fd8d50ae264 (patch)
tree29985920cced30217b71d2be25586c6638f30c31 /Xi
parent83e38eb73fd8c852513aac2da2975b4c01070ec2 (diff)
Xi: remove superfluous cast.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/listdev.c2
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);