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. --- Xext/xace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xext/xace.c') diff --git a/Xext/xace.c b/Xext/xace.c index 86d70fe74..6eaba6dbc 100644 --- a/Xext/xace.c +++ b/Xext/xace.c @@ -284,7 +284,7 @@ XaceCensorImage( /* convert region to list-of-rectangles for PolyFillRect */ - pRects = (xRectangle *)xalloc(nRects * sizeof(xRectangle)); + pRects = xalloc(nRects * sizeof(xRectangle)); if (!pRects) { failed = TRUE; -- cgit v1.2.3