aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/mi/mipushpxl.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/mi/mipushpxl.c')
-rw-r--r--xorg-server/mi/mipushpxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/mi/mipushpxl.c b/xorg-server/mi/mipushpxl.c
index 4b9789047..3844519d8 100644
--- a/xorg-server/mi/mipushpxl.c
+++ b/xorg-server/mi/mipushpxl.c
@@ -123,7 +123,7 @@ miPushPixels(GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDrawable,
LONG2CHARSDIFFORDER((MiBits)(-1) >> 1);
#endif
- pwLineStart = (MiBits *)xalloc(BitmapBytePad(dx));
+ pwLineStart = xalloc(BitmapBytePad(dx));
if (!pwLineStart)
return;
ipt = 0;