diff options
Diffstat (limited to 'mi/mifillrct.c')
-rw-r--r-- | mi/mifillrct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/mifillrct.c b/mi/mifillrct.c index a2967da0a..6e9979099 100644 --- a/mi/mifillrct.c +++ b/mi/mifillrct.c @@ -107,8 +107,8 @@ miPolyFillRect( maxheight = max(maxheight, prect->height); } - pptFirst = (DDXPointPtr) xalloc(maxheight * sizeof(DDXPointRec)); - pwFirst = (int *) xalloc(maxheight * sizeof(int)); + pptFirst = xalloc(maxheight * sizeof(DDXPointRec)); + pwFirst = xalloc(maxheight * sizeof(int)); if(!pptFirst || !pwFirst) { if (pwFirst) xfree(pwFirst); |