diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-07-16 13:32:36 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-07-18 08:29:51 -0700 |
commit | 4a29ee186195ab38a81280cefb6a476e3763da11 (patch) | |
tree | 574bb8066d1e0ad49d252d8076fe227c6f3d03b3 /include/c99_alloca.h | |
parent | 7df5f62768e4e2cd425dfb167c8142db41c2807c (diff) |
intel/compiler: fix -Wsign-compare warning
Explicitly convert to signed integer. Conversion is valid since is the
same (implicitly) used to initialize the loop. Avoids the warning:
../../src/intel/compiler/brw_fs.cpp: In member function ‘bool fs_visitor::lower_simd_width()’:
../../src/intel/compiler/brw_fs.cpp:5761:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
split_inst.eot = inst->eot && i == n - 1;
~~^~~~~~~~
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'include/c99_alloca.h')
0 files changed, 0 insertions, 0 deletions