Module: Mesa Branch: master Commit: 0d99aef6c8a940e52afcbffa7091ff9c854ba120 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d99aef6c8a940e52afcbffa7091ff9c854ba120
Author: Eric Anholt <[email protected]> Date: Mon Mar 24 11:16:38 2014 -0700 i965: Fix compiler warning about signed/unsigned. Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 1b32d63..713e477 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]; } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
