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/base/sat_counter.cc | |
parent | 4e3426624557b555c354035ee3961eab7554d81d (diff) | |
download | gem5-6faf377b5305f9dcc3c7b013c4d67f5accb92617.tar.xz |
types: clean up types, especially signed vs unsigned
Diffstat (limited to 'src/base/sat_counter.cc')
-rw-r--r-- | src/base/sat_counter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/sat_counter.cc b/src/base/sat_counter.cc index 8980275eb..61815c112 100644 --- a/src/base/sat_counter.cc +++ b/src/base/sat_counter.cc @@ -66,7 +66,7 @@ SaturatingCounterPred::SaturatingCounterPred(string p_name, table = new unsigned[max_index + 1]; // Initialize with the right parameters & clear the counter - for (int i = 0; i <= max_index; ++i) + for (unsigned long i = 0; i <= max_index; ++i) table[i] = init_value; } |