diff options
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; } } |