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/cpu/pred/btb.cc | |
parent | 4e3426624557b555c354035ee3961eab7554d81d (diff) | |
download | gem5-6faf377b5305f9dcc3c7b013c4d67f5accb92617.tar.xz |
types: clean up types, especially signed vs unsigned
Diffstat (limited to 'src/cpu/pred/btb.cc')
-rw-r--r-- | src/cpu/pred/btb.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/pred/btb.cc b/src/cpu/pred/btb.cc index 81676aceb..c6a5e23f9 100644 --- a/src/cpu/pred/btb.cc +++ b/src/cpu/pred/btb.cc @@ -47,7 +47,7 @@ DefaultBTB::DefaultBTB(unsigned _numEntries, btb.resize(numEntries); - for (int i = 0; i < numEntries; ++i) { + for (unsigned i = 0; i < numEntries; ++i) { btb[i].valid = false; } @@ -61,7 +61,7 @@ DefaultBTB::DefaultBTB(unsigned _numEntries, void DefaultBTB::reset() { - for (int i = 0; i < numEntries; ++i) { + for (unsigned i = 0; i < numEntries; ++i) { btb[i].valid = false; } } |