mesa: Resolve GCC sign-compare warning.
authorRhys Kidd <rhyskidd@gmail.com>
Tue, 8 Sep 2015 15:52:49 +0000 (23:52 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 10 Sep 2015 13:56:41 +0000 (14:56 +0100)
commit1c194840fda7b1a6344aa40def9879b418fa977d
tree294a349d02565744259cd5d7a39abae6bf80c6ff
parent32cdb49fe2f0211040bfb16e668169097199bfcc
mesa: Resolve GCC sign-compare warning.

mesa/src/mesa/program/prog_to_nir.c: In function 'setup_registers_and_variables':
/mesa/src/mesa/program/prog_to_nir.c:1059:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < c->prog->NumTemporaries; i++) {
                      ^

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/program/prog_to_nir.c