commit 430f5852ac1c19cea295fd1cb4c362777f1de21a Author: Nick Mathewson nickm@torproject.org Date: Fri Nov 28 09:18:17 2014 -0500
Fix a signed/unsigned comparison warning in scheduler_run --- src/or/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index 61f69b3..d1a15aa 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; }
tor-commits@lists.torproject.org