aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/cw/cw.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/miext/cw/cw.c')
-rw-r--r--xorg-server/miext/cw/cw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/miext/cw/cw.c b/xorg-server/miext/cw/cw.c
index 56066fe9c..74000ffa0 100644
--- a/xorg-server/miext/cw/cw.c
+++ b/xorg-server/miext/cw/cw.c
@@ -484,7 +484,7 @@ miInitializeCompositeWrapper(ScreenPtr pScreen)
if (!dixRequestPrivate(cwGCKey, sizeof(cwGCRec)))
return;
- pScreenPriv = (cwScreenPtr)xalloc(sizeof(cwScreenRec));
+ pScreenPriv = xalloc(sizeof(cwScreenRec));
if (!pScreenPriv)
return;