From: Timothy Arceri Date: Mon, 1 Aug 2016 00:35:06 +0000 (+1000) Subject: i965: fix comparison warning X-Git-Tag: upstream/17.1.0~7636 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cec377eed3ab6420679dceef98ad0eea27b5f644;p=platform%2Fupstream%2Fmesa.git i965: fix comparison warning Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 3309f61..d1ac80a 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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);