summaryrefslogtreecommitdiff
path: root/do_tris.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_tris.c')
-rw-r--r--do_tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_tris.c b/do_tris.c
index 6605fd1..1e1d3b9 100644
--- a/do_tris.c
+++ b/do_tris.c
@@ -91,7 +91,7 @@ InitTriangles(XParms xp, Parms p, int64_t reps)
iradius = (int) (radius + 0.5);
numPoints = (p->objects) * NUM_POINTS;
- points = (XPoint *)malloc(numPoints * sizeof(XPoint));
+ points = malloc(numPoints * sizeof(XPoint));
curPoint = points;
x = iradius;
y = iradius;