diff options
Diffstat (limited to 'do_lines.c')
-rw-r--r-- | do_lines.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ GenerateLines(XParms xp, Parms p, Bool ddashed) size4 = 4 * (size+1); half = (size + 19) / 20; - points = (XPoint *)malloc((p->objects+1) * sizeof(XPoint)); + points = malloc((p->objects+1) * sizeof(XPoint)); /* All this x, x1, x1inc, etc. stuff is to create a pattern that (1) scans down the screen vertically |