summaryrefslogtreecommitdiff
path: root/src/base/sat_counter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/sat_counter.cc')
-rw-r--r--src/base/sat_counter.cc2
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;
}