From: Brian Paul Date: Wed, 17 Oct 2012 00:33:08 +0000 (-0600) Subject: st/mesa: silence MSVC signed/unsigned comparison warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32638737c5d9ccf2292bae2e708c13daacd2bc48;p=mesa.git st/mesa: silence MSVC signed/unsigned comparison warning Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 08a41c3e229..0560f3a8a39 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -298,7 +298,8 @@ static void init_format_extensions(struct st_context *st, { struct pipe_screen *screen = st->pipe->screen; GLboolean *extensions = (GLboolean *) &st->ctx->Extensions; - int i, j; + unsigned i; + int j; int num_formats = Elements(mapping->format); int num_ext = Elements(mapping->extension_offset);