From dc24230de7f913969b52dee3579bb8fa3d50a8c0 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Sat, 30 Aug 2003 14:45:04 +0000 Subject: Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions. --- src/mesa/main/occlude.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/occlude.c') diff --git a/src/mesa/main/occlude.c b/src/mesa/main/occlude.c index f6dc7056ba..871beb9e54 100644 --- a/src/mesa/main/occlude.c +++ b/src/mesa/main/occlude.c @@ -116,7 +116,7 @@ _mesa_GenQueriesARB(GLsizei n, GLuint *ids) first = _mesa_HashFindFreeKeyBlock(ctx->Occlusion.QueryObjects, n); if (first) { - GLuint i; + GLsizei i; for (i = 0; i < n; i++) { struct occlusion_query *q = new_query_object(GL_SAMPLES_PASSED_ARB, first + i); -- cgit v1.2.3