diff options
author | Michal Krol <michal@tungstengraphics.com> | 2008-07-24 11:03:05 +0200 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2008-07-24 11:03:05 +0200 |
commit | b4ed6e9b1797a1e08c51c1ad30e0f78d9c6d8b95 (patch) | |
tree | b2fa1ae628761d24b1dc7792c8451585f0ad5961 /src/mesa | |
parent | f7be39ea105aa951d0f6e1d8ffbea63412e30801 (diff) |
mesa: Silence compiler warning on windows.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
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 d8aa161e43..40f4105a64 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1871,7 +1871,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) { |