From 6faf377b5305f9dcc3c7b013c4d67f5accb92617 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 4 Jun 2009 23:21:12 -0700 Subject: types: clean up types, especially signed vs unsigned --- src/base/sat_counter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/sat_counter.cc') 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; } -- cgit v1.2.3