XListDProp.c: In function 'XListDeviceProperties':
XListDProp.c:72:9: warning: pointer targets in passing argument 2 of
'_XRead32' differ in signedness
/usr/include/X11/Xlibint.h:652:13: note: expected 'long int *' but argument
is of type 'Atom *'

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/XListDProp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/XListDProp.c b/src/XListDProp.c
index 66b9eca..8667350 100644
--- a/src/XListDProp.c
+++ b/src/XListDProp.c
@@ -69,7 +69,7 @@ XListDeviceProperties(Display* dpy, XDevice* dev, int 
*nprops_return)
             goto cleanup;
         }
 
-        _XRead32(dpy, props, rep.nAtoms << 2);
+        _XRead32(dpy, (long*)props, rep.nAtoms << 2);
     }
 
     *nprops_return = rep.nAtoms;
-- 
1.7.4.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to