diff options
Diffstat (limited to 'src/XrrScreen.c')
-rw-r--r-- | src/XrrScreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XrrScreen.c b/src/XrrScreen.c index 3773c88..d425cc4 100644 --- a/src/XrrScreen.c +++ b/src/XrrScreen.c @@ -127,8 +127,8 @@ doGetScreenResources (Display *dpy, Window window, int poll) rep.nModes * sizeof (XRRModeInfo) + rep.nbytesNames + rep.nModes); /* '\0' terminate names */ - xrsr = (XRRScreenResources *) Xmalloc(rbytes); - wire_names = (char *) Xmalloc (rep.nbytesNames); + xrsr = Xmalloc(rbytes); + wire_names = Xmalloc (rep.nbytesNames); } else { nbytes = 0; nbytesRead = 0; |