summaryrefslogtreecommitdiff
path: root/progs/demos/fire.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-07-12 15:54:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-07-12 15:54:01 +0000
commitf02a5f6cc55fc61229a038ac72edb3ce97cb6950 (patch)
treeb3f3b47105dd5939751262bd880dc7821b435679 /progs/demos/fire.c
parent902d2faadf37a5627ab2cbcd8993825c8749ec82 (diff)
Pedantic compiler fixes (Sven Panne)
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]);