summaryrefslogtreecommitdiff
path: root/Xext/xace.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/xace.c')
-rw-r--r--Xext/xace.c2
1 files changed, 1 insertions, 1 deletions
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;