summaryrefslogtreecommitdiff
path: root/miext/shadow/shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shadow.c')
-rw-r--r--miext/shadow/shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c
index 21f1de2d5..5eea16bdf 100644
--- a/miext/shadow/shadow.c
+++ b/miext/shadow/shadow.c
@@ -139,7 +139,7 @@ shadowSetup(ScreenPtr pScreen)
if (!DamageSetup(pScreen))
return FALSE;
- pBuf = (shadowBufPtr) xalloc(sizeof(shadowBufRec));
+ pBuf = xalloc(sizeof(shadowBufRec));
if (!pBuf)
return FALSE;
#ifdef BACKWARDS_COMPATIBILITY