From 4470ff2ebf56b22421038bc7272ef22c085b839d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 19 Jul 2011 21:10:25 -0600 Subject: glsl: silence warning in linker.cpp --- src/glsl/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 34b64837a46..5ec08446d16 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -1343,7 +1343,7 @@ assign_attribute_or_color_locations(gl_shader_program *prog, foreach_list(node, sh->ir) { ir_variable *const var = ((ir_instruction *) node)->as_variable(); - if ((var == NULL) || (var->mode != direction)) + if ((var == NULL) || (var->mode != (unsigned) direction)) continue; if (var->explicit_location) { -- cgit v1.2.3