summaryrefslogtreecommitdiff
path: root/do_rects.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_rects.c')
-rw-r--r--do_rects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_rects.c b/do_rects.c
index a3d1195..4c03d9c 100644
--- a/do_rects.c
+++ b/do_rects.c
@@ -47,7 +47,7 @@ InitRectangles(XParms xp, Parms p, int64_t reps)
lw = (lw >> 1) + 1;
}
- rects = (XRectangle *)malloc(p->objects * sizeof(XRectangle));
+ rects = malloc(p->objects * sizeof(XRectangle));
x = lw;
y = lw;
rows = 0;