diff options
-rw-r--r-- | 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; |