systemc: Change the type of a loop counter to avoid a warning.
authorGabe Black <gabeblack@google.com>
Sat, 9 Feb 2019 12:01:48 +0000 (04:01 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 11 Feb 2019 07:34:15 +0000 (07:34 +0000)
commitbdef435d948a95207095fd1ee6359bdb622935f1
tree17649b5e0f91437a6eceb5afd69d8158161bc4c8
parent8174d7c87b5a966ef3d7aa469923fc9a44f680fa
systemc: Change the type of a loop counter to avoid a warning.

g++ complained about comparing an signed int loop counter with the
return value of a size() function. This change changes it to an
unsigned to make g++ happy/quiet.

Change-Id: I28fa79c448465b24d77b5623860f9b991f313561
Reviewed-on: https://gem5-review.googlesource.com/c/16286
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/ext/core/sc_port.hh