projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead664e
)
st/mesa: silence MSVC signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Oct 2012 00:33:08 +0000
(18:33 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 08a41c3e2290a94e4502840d09a1d73d68aa43b9..0560f3a8a39eb9bc89fdd74180625657c39d88ee 100644
(file)
--- 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);