projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501baa6
)
mesa/shaderimage.c: fix inconsistent sign warning
author
Alon Levy
<alevy@redhat.com>
Tue, 22 Jul 2014 21:07:06 +0000
(
00:07
+0300)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 23 Oct 2014 13:45:41 +0000
(14:45 +0100)
Signed-off-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/shaderimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderimage.c
b/src/mesa/main/shaderimage.c
index 9e62f4294b4ca20ace1ff0b4e856cbd6d6b858f0..dcbcca623606fad7a84549f02905138dab689c69 100644
(file)
--- a/
src/mesa/main/shaderimage.c
+++ b/
src/mesa/main/shaderimage.c
@@
-384,7
+384,7
@@
validate_image_unit(struct gl_context *ctx, struct gl_image_unit *u)
void
_mesa_validate_image_units(struct gl_context *ctx)
{
-
int
i;
+
unsigned
i;
for (i = 0; i < ctx->Const.MaxImageUnits; ++i) {
struct gl_image_unit *u = &ctx->ImageUnits[i];