From 1c8bd320beed5379ab3b755d41cb2fd051858a67 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 20 Feb 2008 02:17:41 +0000 Subject: pass bucket sizes num_read and num_written around as size_ts rather than ints svn:r13610 --- src/or/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/connection.c') diff --git a/src/or/connection.c b/src/or/connection.c index 5f80872c0f..ef352f958e 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1571,7 +1571,7 @@ global_write_bucket_low(connection_t *conn, size_t attempt, int priority) * Decrement buckets appropriately. */ static void connection_buckets_decrement(connection_t *conn, time_t now, - int num_read, int num_written) + size_t num_read, size_t num_written) { if (!connection_is_rate_limited(conn)) return; /* local IPs are free */ -- cgit v1.2.3-54-g00ecf