summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
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 */