From 56bac7a35cf5763c28164224a45dae46e06aacbb Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 24 Jul 2008 11:03:05 +0200 Subject: [PATCH] mesa: Silence compiler warning on windows. --- src/mesa/shader/slang/slang_codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 77ded1e4ab9..6b2e45bfbf2 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1849,7 +1849,7 @@ _slang_make_constructor(slang_assemble_ctx *A, slang_struct *str) static slang_function * _slang_locate_struct_constructor(slang_assemble_ctx *A, const char *name) { - int i; + unsigned int i; for (i = 0; i < A->space.structs->num_structs; i++) { slang_struct *str = &A->space.structs->structs[i]; if (strcmp(name, (const char *) str->a_name) == 0) { -- 2.30.2