summaryrefslogtreecommitdiff
path: root/src/XrrConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XrrConfig.c')
-rw-r--r--src/XrrConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrConfig.c b/src/XrrConfig.c
index 48b7987..af4b94f 100644
--- a/src/XrrConfig.c
+++ b/src/XrrConfig.c
@@ -283,7 +283,7 @@ static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy,
(rep.nSizes * sizeof (XRRScreenSize) +
rep.nrateEnts * sizeof (int));
- scp = (struct _XRRScreenConfiguration *) Xmalloc(rbytes);
+ scp = Xmalloc(rbytes);
} else {
nbytes = 0;
nbytesRead = 0;