summaryrefslogtreecommitdiff
path: root/src/or/scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r--src/or/scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c
index 61f69b3c36..d1a15aacb2 100644
--- a/src/or/scheduler.c
+++ b/src/or/scheduler.c
@@ -418,7 +418,7 @@ scheduler_run, (void))
flushed_this_time =
channel_flush_some_cells(chan,
MIN(sched_max_flush_cells,
- n_cells - flushed));
+ (size_t) n_cells - flushed));
if (flushed_this_time <= 0) break;
flushed += flushed_this_time;
}