From a5a69b76d1878e72b9cf6dfdb75c19121f21e7e7 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 29 Nov 2012 03:36:27 -0700 Subject: [PATCH] Bug 3685: Squid hangs in ClassCBucket::update --- src/delay_pools.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.2