summaryrefslogtreecommitdiff
path: root/progs/demos/fire.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/fire.c')
-rw-r--r--progs/demos/fire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/fire.c b/progs/demos/fire.c
index e4492cbc16..a648a9d0db 100644
--- a/progs/demos/fire.c
+++ b/progs/demos/fire.c
@@ -752,7 +752,7 @@ main(int ac, char **av)
glFogfv(GL_FOG_COLOR, fogcolor);
glFogf(GL_FOG_DENSITY, 0.1);
- p = malloc(sizeof(part) * np);
+ p = (part *) malloc(sizeof(part) * np);
for (i = 0; i < np; i++)
setnewpart(&p[i]);