Fix a signed/unsigned comparison warning in scheduler_run

This commit is contained in:
Nick Mathewson 2014-11-28 09:18:17 -05:00
parent 0bfadbf4b9
commit 430f5852ac

View File

@ -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;
}