From: Brian Paul Date: Tue, 12 Oct 2010 14:54:16 +0000 (-0600) Subject: glsl2: fix signed/unsigned comparison warning X-Git-Tag: 062012170305~9444^2~157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3633e1f538e42ac04700aa98b48e3157b3406c14;p=profile%2Fivi%2Fmesa.git glsl2: fix signed/unsigned comparison warning --- diff --git a/src/glsl/loop_unroll.cpp b/src/glsl/loop_unroll.cpp index 90797bd..1170958 100644 --- a/src/glsl/loop_unroll.cpp +++ b/src/glsl/loop_unroll.cpp @@ -67,7 +67,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)