diff options
author | Nathan Binkert <nate@binkert.org> | 2009-06-04 23:21:12 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-06-04 23:21:12 -0700 |
commit | 6faf377b5305f9dcc3c7b013c4d67f5accb92617 (patch) | |
tree | 0e437fb49a32dd3d2d2bec95a8dc3bdb4ddf05b0 /src/mem/rubymem.cc | |
parent | 4e3426624557b555c354035ee3961eab7554d81d (diff) | |
download | gem5-6faf377b5305f9dcc3c7b013c4d67f5accb92617.tar.xz |
types: clean up types, especially signed vs unsigned
Diffstat (limited to 'src/mem/rubymem.cc')
-rw-r--r-- | src/mem/rubymem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/rubymem.cc b/src/mem/rubymem.cc index 3f121f7af..83bac2fd5 100644 --- a/src/mem/rubymem.cc +++ b/src/mem/rubymem.cc @@ -153,7 +153,7 @@ RubyMemory::getPort(const std::string &if_name, int idx) panic("RubyMemory::getPort: unknown port %s requested", if_name); } - if (idx >= ports.size()) { + if (idx >= (int)ports.size()) { ports.resize(idx+1); } |