diff options
author | Brian Paul <[email protected]> | 2002-07-12 15:54:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-07-12 15:54:01 +0000 |
commit | f02a5f6cc55fc61229a038ac72edb3ce97cb6950 (patch) | |
tree | b3f3b47105dd5939751262bd880dc7821b435679 /progs/demos/fire.c | |
parent | 902d2faadf37a5627ab2cbcd8993825c8749ec82 (diff) |
Pedantic compiler fixes (Sven Panne)
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]); |