summaryrefslogtreecommitdiff
path: root/miext/cw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-01-22 02:11:16 -0500
committerAdam Jackson <ajax@redhat.com>2009-01-22 02:11:16 -0500
commit132b464d734b077038e19b21e46d3a6258f4b998 (patch)
tree4fe179cf69d6013a32aaa8e17a28b3fc905e6274 /miext/cw
parent0fb4390526bb829ab17ff4635d41a3012f63c1b2 (diff)
Remove a bunch of useless casts.
We've had void * for twenty years now people let's try to act like we know how it works.
Diffstat (limited to 'miext/cw')
-rw-r--r--miext/cw/cw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/cw/cw.c b/miext/cw/cw.c
index 56066fe9c..74000ffa0 100644
--- a/miext/cw/cw.c
+++ b/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;