diff options
Diffstat (limited to 'progs/demos/fire.c')
-rw-r--r-- | progs/demos/fire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/fire.c b/progs/demos/fire.c index e4492cbc161..a648a9d0db9 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]); |