summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2017-08-02 16:17:05 -0700
committerMatt Turner <mattst88@gmail.com>2017-08-21 14:05:23 -0700
commit9ff7d9b85312cdfe986dcfded4aac157f441494f (patch)
treeb47730b6b490583236a8a9ff004a1c477654a7f6
parenteac89911e5fa7129d053418677df32d7ff6e0372 (diff)
i965: Silence signed/unsigned comparison warning
Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
-rw-r--r--src/intel/compiler/test_eu_compact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/test_eu_compact.cpp b/src/intel/compiler/test_eu_compact.cpp
index 39e7f1a27c3..1ef7e5ae7f1 100644
--- a/src/intel/compiler/test_eu_compact.cpp
+++ b/src/intel/compiler/test_eu_compact.cpp
@@ -254,7 +254,7 @@ run_tests(const struct gen_device_info *devinfo)
brw_init_compaction_tables(devinfo);
bool fail = false;
- for (int i = 0; i < ARRAY_SIZE(tests); i++) {
+ for (unsigned i = 0; i < ARRAY_SIZE(tests); i++) {
for (int align_16 = 0; align_16 <= 1; align_16++) {
struct brw_codegen *p = rzalloc(NULL, struct brw_codegen);
brw_init_codegen(devinfo, p, p);