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 6d0d186..2629f44 100644
--- a/src/XrrProviderProperty.c
+++ b/src/XrrProviderProperty.c
@@ -60,7 +60,7 @@ XRRListProviderProperties (Display *dpy, RRProvider provider, int *nprop)
size_t rbytes = rep.nAtoms * sizeof (Atom);
size_t nbytes = rep.nAtoms << 2;
- props = (Atom *) Xmalloc (rbytes);
+ props = Xmalloc (rbytes);
if (props == NULL) {
_XEatDataWords (dpy, rep.length);
UnlockDisplay (dpy);