summaryrefslogtreecommitdiff
path: root/src/XrrProviderProperty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XrrProviderProperty.c')
-rw-r--r--src/XrrProviderProperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrProviderProperty.c b/src/XrrProviderProperty.c
index 34cc082..241e8ee 100644
--- a/src/XrrProviderProperty.c
+++ b/src/XrrProviderProperty.c
@@ -70,7 +70,7 @@ XRRListProviderProperties (Display *dpy, RRProvider provider, int *nprop)
return NULL;
}
- _XRead32 (dpy, props, nbytes);
+ _XRead32 (dpy, (long *) props, nbytes);
}
*nprop = rep.nAtoms;