From 9ff7d9b85312cdfe986dcfded4aac157f441494f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 2 Aug 2017 16:17:05 -0700 Subject: [PATCH] i965: Silence signed/unsigned comparison warning Reviewed-by: Scott D Phillips --- src/intel/compiler/test_eu_compact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2