From: Matt Turner Date: Wed, 2 Aug 2017 23:17:05 +0000 (-0700) Subject: i965: Silence signed/unsigned comparison warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ff7d9b85312cdfe986dcfded4aac157f441494f;p=mesa.git i965: Silence signed/unsigned comparison warning Reviewed-by: Scott D Phillips --- 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);