st/mesa: silence MSVC signed/unsigned comparison warning
authorBrian Paul <brianp@vmware.com>
Wed, 17 Oct 2012 00:33:08 +0000 (18:33 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Oct 2012 16:13:30 +0000 (10:13 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_extensions.c

index 08a41c3e2290a94e4502840d09a1d73d68aa43b9..0560f3a8a39eb9bc89fdd74180625657c39d88ee 100644 (file)
@@ -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);