summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-12 08:54:16 -0600
committerBrian Paul <[email protected]>2010-10-12 08:54:16 -0600
commit3633e1f538e42ac04700aa98b48e3157b3406c14 (patch)
tree4748ffe026d06ffd7c9a8395d60a202128e7d204
parente3ec0fdd546259005c9ed2bf7b05cead2ab95b43 (diff)
glsl2: fix signed/unsigned comparison warning
-rw-r--r--src/glsl/loop_unroll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/loop_unroll.cpp b/src/glsl/loop_unroll.cpp
index 90797bde375..11709587e24 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)