summaryrefslogtreecommitdiff
path: root/do_dots.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_dots.c')
-rw-r--r--do_dots.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_dots.c b/do_dots.c
index a02cb10..38944e0 100644
--- a/do_dots.c
+++ b/do_dots.c
@@ -31,7 +31,7 @@ InitDots(XParms xp, Parms p, int64_t reps)
{
pgc = xp->fggc;
- points = (XPoint *)malloc(p->objects * sizeof(XPoint));
+ points = malloc(p->objects * sizeof(XPoint));
for (int i = 0; i != p->objects; i++) {
points[i].x = 2 * (i/MAXROWS);