[PATCH 1/7] Xi: remove superfluous cast.

Peter Hutterer peter.hutterer at who-t.net
Wed Jan 29 15:51:14 PST 2014


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Xi/listdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Xi/listdev.c b/Xi/listdev.c
index 470fb52..6a10091 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);
-- 
1.8.4.2



More information about the xorg-devel mailing list