From d897e7c34a67d1f393fb3ab23d3ca814537ce0e1 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 23 Jul 2014 00:07:06 +0300 Subject: [PATCH] mesa/shaderimage.c: fix inconsistent sign warning Signed-off-by: Alon Levy Reviewed-by: Brian Paul --- src/mesa/main/shaderimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2