summaryrefslogtreecommitdiff
path: root/mi/mifpolycon.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mifpolycon.c')
-rw-r--r--mi/mifpolycon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mi/mifpolycon.c b/mi/mifpolycon.c
index 4a3acfd2b..383502f64 100644
--- a/mi/mifpolycon.c
+++ b/mi/mifpolycon.c
@@ -116,9 +116,9 @@ miFillSppPoly(
y = ymax - ymin + 1;
if ((count < 3) || (y <= 0))
return;
- ptsOut = FirstPoint = (DDXPointPtr)xalloc(sizeof(DDXPointRec) * y);
- width = FirstWidth = (int *) xalloc(sizeof(int) * y);
- Marked = (int *) xalloc(sizeof(int) * count);
+ ptsOut = FirstPoint = xalloc(sizeof(DDXPointRec) * y);
+ width = FirstWidth = xalloc(sizeof(int) * y);
+ Marked = xalloc(sizeof(int) * count);
if(!ptsOut || !width || !Marked)
{