summaryrefslogtreecommitdiff
path: root/mi/mipolypnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mipolypnt.c')
-rw-r--r--mi/mipolypnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mipolypnt.c b/mi/mipolypnt.c
index 12324b686..5d6243ab0 100644
--- a/mi/mipolypnt.c
+++ b/mi/mipolypnt.c
@@ -107,7 +107,7 @@ miPolyPoint(
DoChangeGC(pGC, GCFillStyle, &fsNew, 0);
ValidateGC(pDrawable, pGC);
}
- if(!(pwidthInit = (int *)xalloc(npt * sizeof(int))))
+ if(!(pwidthInit = xalloc(npt * sizeof(int))))
return;
pwidth = pwidthInit;
for(i = 0; i < npt; i++)