From 53d30c56eb1a0865a6a88cf05c4c74673d41b2a4 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Fri, 18 Oct 2002 17:47:35 +0000 Subject: [PATCH] Quiet compiler warnings. --- progs/demos/isosurf.c | 11 ++++++----- progs/demos/tessdemo.c | 17 +++++++++-------- progs/redbook/pickdepth.c | 4 ++-- progs/redbook/picksquare.c | 4 ++-- progs/redbook/select.c | 4 ++-- progs/samples/loadppm.c | 2 +- progs/tests/manytex.c | 4 ++-- progs/tests/multipal.c | 4 ++-- progs/tests/texwrap.c | 4 ++-- 9 files changed, 28 insertions(+), 26 deletions(-) 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