mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
glsl2: fix signed/unsigned comparison warning
(cherry picked from commit 3633e1f538)
This commit is contained in:
parent
ffd9033227
commit
1bac4815a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue