i965: fix comparison warning

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Timothy Arceri 2016-08-01 10:35:06 +10:00
parent 26ff7e373f
commit cec377eed3

View file

@ -6381,7 +6381,7 @@ move_interpolation_to_top(nir_shader *nir)
instr
};
for (int i = 0; i < ARRAY_SIZE(move); i++) {
for (unsigned i = 0; i < ARRAY_SIZE(move); i++) {
if (move[i]->block != top) {
move[i]->block = top;
exec_node_remove(&move[i]->node);