From: Amos Jeffries Date: Mon, 26 Nov 2012 11:13:08 +0000 (-0700) Subject: Bug 3685: Squid hangs in ClassCBucket::update X-Git-Tag: SQUID_3_4_0_1~474 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4dd2cd58b7d331f2f080f21fcf2359e0b2bf3a11;p=thirdparty%2Fsquid.git Bug 3685: Squid hangs in ClassCBucket::update --- diff --git a/src/delay_pools.cc b/src/delay_pools.cc index 1f05e4dd49..a979d94e35 100644 --- a/src/delay_pools.cc +++ b/src/delay_pools.cc @@ -368,7 +368,7 @@ ClassCBucket::update (DelaySpec const &rate, int incr) /* If we aren't active, don't try to update us ! */ assert (rate.restore_bps != -1); - for (unsigned char j = 0; j < individuals.size(); ++j) + for (unsigned int j = 0; j < individuals.size(); ++j) individuals.values[j].update (rate, incr); }