projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ec0fd
)
glsl2: fix signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Tue, 12 Oct 2010 14:54:16 +0000
(08:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 12 Oct 2010 14:54:16 +0000
(08:54 -0600)
src/glsl/loop_unroll.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/loop_unroll.cpp
b/src/glsl/loop_unroll.cpp
index 90797bde3755be122075f3b34621e97cd031c07d..11709587e24e57ce3c2adf43c2bb7d0463f4a68e 100644
(file)
--- 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)