From 132b464d734b077038e19b21e46d3a6258f4b998 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 22 Jan 2009 02:11:16 -0500 Subject: 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. --- miext/shadow/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miext/shadow') 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 -- cgit v1.2.3