From: Karl Schultz Date: Fri, 18 Oct 2002 17:47:35 +0000 (+0000) Subject: Quiet compiler warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53d30c56eb1a0865a6a88cf05c4c74673d41b2a4;p=mesa.git Quiet compiler warnings. --- diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c index 160886f9ce9..12125aac965 100644 --- a/progs/demos/isosurf.c +++ b/progs/demos/isosurf.c @@ -1,4 +1,4 @@ -/* $Id: isosurf.c,v 1.14 2002/01/04 09:47:17 gareth Exp $ */ +/* $Id: isosurf.c,v 1.15 2002/10/18 17:47:35 kschultz Exp $ */ /* * Display an isosurface of 3-D wind speed volume. @@ -32,6 +32,7 @@ #include #ifdef _WIN32 #include +#undef CLIP_MASK #endif #define GL_GLEXT_LEGACY #include "GL/glut.h" @@ -84,7 +85,7 @@ #define POLYGON_MASK (POLYGON_FILL|POLYGON_LINE) #define MAXVERTS 10000 -static GLuint maxverts = MAXVERTS; +static GLint maxverts = MAXVERTS; static float data[MAXVERTS][6]; static float compressed_data[MAXVERTS][6]; static float expanded_data[MAXVERTS*3][6]; @@ -337,7 +338,7 @@ static void make_tri_indices( void ) { unsigned int *v = tri_indices; unsigned int parity = 0; - unsigned int i, j; + int i, j; for (j=2;j