diff options
Diffstat (limited to 'src/cpu/pred/ras.cc')
-rw-r--r-- | src/cpu/pred/ras.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/pred/ras.cc b/src/cpu/pred/ras.cc index 5af188749..6373e5de3 100644 --- a/src/cpu/pred/ras.cc +++ b/src/cpu/pred/ras.cc @@ -39,7 +39,7 @@ ReturnAddrStack::init(unsigned _numEntries) addrStack.resize(numEntries); - for (int i = 0; i < numEntries; ++i) + for (unsigned i = 0; i < numEntries; ++i) addrStack[i] = 0; } @@ -48,7 +48,7 @@ ReturnAddrStack::reset() { usedEntries = 0; tos = 0; - for (int i = 0; i < numEntries; ++i) + for (unsigned i = 0; i < numEntries; ++i) addrStack[i] = 0; } |