Mesa (master): i965: Fix compiler warning about signed/unsigned.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Mar 24 18:31:05 UTC 2014
Module: Mesa
Branch: master
Commit: 0d99aef6c8a940e52afcbffa7091ff9c854ba120
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d99aef6c8a940e52afcbffa7091ff9c854ba120
Author: Eric Anholt <eric at anholt.net>
Date: Mon Mar 24 11:16:38 2014 -0700
i965: Fix compiler warning about signed/unsigned.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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];
}
}
More information about the mesa-commit
mailing list