From 0d99aef6c8a940e52afcbffa7091ff9c854ba120 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 24 Mar 2014 11:16:38 -0700 Subject: i965: Fix compiler warning about signed/unsigned. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965') diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 1b32d634a84..713e47761d0 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1913,7 +1913,7 @@ fs_visitor::assign_constant_locations() if (remapped == -1) continue; - assert(remapped <= i); + assert(remapped <= (int)i); stage_prog_data->param[remapped] = stage_prog_data->param[i]; } } -- cgit v1.2.3