diff options
Diffstat (limited to 'src/XrrCrtc.c')
-rw-r--r-- | src/XrrCrtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XrrCrtc.c b/src/XrrCrtc.c index 2da7ed2..76024b1 100644 --- a/src/XrrCrtc.c +++ b/src/XrrCrtc.c @@ -75,7 +75,7 @@ XRRGetCrtcInfo (Display *dpy, XRRScreenResources *resources, RRCrtc crtc) rep.nOutput * sizeof (RROutput) + rep.nPossibleOutput * sizeof (RROutput)); - xci = (XRRCrtcInfo *) Xmalloc(rbytes); + xci = Xmalloc(rbytes); } else { @@ -530,7 +530,7 @@ XRRGetPanning (Display *dpy, XRRScreenResources *resources, RRCrtc crtc) return NULL; } - if (! (xp = (XRRPanning *) Xmalloc(sizeof(XRRPanning))) ) { + if (! (xp = Xmalloc(sizeof(XRRPanning))) ) { _XEatData (dpy, sizeof(XRRPanning)); UnlockDisplay (dpy); SyncHandle (); |