diff options
author | Brian Paul <[email protected]> | 2012-10-16 18:33:08 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-10-17 10:13:30 -0600 |
commit | 32638737c5d9ccf2292bae2e708c13daacd2bc48 (patch) | |
tree | fb4d0e18a0348c2d6f2abfc589b001e9b6f9cc7a /src/mesa | |
parent | ead664e506be7b845e6e4ccb1e380c438f168f1b (diff) |
st/mesa: silence MSVC signed/unsigned comparison warning
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |