[Mesa-dev] [PATCH 7/7] mesa/shaderimage.c: fix inconsistent sign warning
Brian Paul
brianp at vmware.com
Mon Jul 28 09:13:56 PDT 2014
On 07/22/2014 03:07 PM, Alon Levy wrote:
> Signed-off-by: Alon Levy <alevy at redhat.com>
> ---
> 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 d1e752d..298ede2 100644
> --- a/src/mesa/main/shaderimage.c
> +++ b/src/mesa/main/shaderimage.c
> @@ -383,7 +383,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];
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list