summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-07-24 11:03:05 +0200
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-29 17:23:19 -0600
commit56bac7a35cf5763c28164224a45dae46e06aacbb (patch)
treed2e4f06ba02fa75e44314e1c4d537c370f45910a
parent5d9b33095ad6eff5ae55493629daac781897c55e (diff)
mesa: Silence compiler warning on windows.
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 77ded1e4ab..6b2e45bfbf 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) {