summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <[email protected]>2014-07-23 00:07:06 +0300
committerEmil Velikov <[email protected]>2014-10-23 14:45:41 +0100
commitd897e7c34a67d1f393fb3ab23d3ca814537ce0e1 (patch)
tree0dc61ef6bb6242d115dc2c07197b3cbad83a8844
parent501baa6bbb519e573c9d128ffb181a2a0ed8f2ec (diff)
mesa/shaderimage.c: fix inconsistent sign warning
Signed-off-by: Alon Levy <[email protected]> Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/main/shaderimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
index 9e62f4294b4..dcbcca62360 100644
--- 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];