Pedantic compiler fixes (Sven Panne)

This commit is contained in:
Brian Paul
2002-07-12 15:54:01 +00:00
parent 902d2faadf
commit f02a5f6cc5
14 changed files with 44 additions and 36 deletions

View File

@@ -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]);