summaryrefslogtreecommitdiff
path: root/src/or/scheduler.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-28 09:18:17 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-28 09:18:17 -0500
commit430f5852ac1c19cea295fd1cb4c362777f1de21a (patch)
treed630e884cc7a1ddb42e3f8fed38a2631f2b5bf10 /src/or/scheduler.c
parent0bfadbf4b91347eb29c4e7d1a5ccfe2f9c7fd021 (diff)
downloadtor-430f5852ac1c19cea295fd1cb4c362777f1de21a.tar.gz
tor-430f5852ac1c19cea295fd1cb4c362777f1de21a.zip
Fix a signed/unsigned comparison warning in scheduler_run
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;
}