glsl2: fix signed/unsigned comparison warning

(cherry picked from commit 3633e1f538)
This commit is contained in:
Brian Paul 2010-10-12 08:54:16 -06:00
parent ffd9033227
commit 1bac4815a8

View file

@ -75,7 +75,7 @@ loop_unroll_visitor::visit_leave(ir_loop *ir)
/* Don't try to unroll loops that have zillions of iterations either.
*/
if (iterations > max_iterations)
if (iterations > (int) max_iterations)
return visit_continue;
if (ls->num_loop_jumps > 1)