mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix a signed/unsigned comparison warning in scheduler_run
This commit is contained in:
parent
0bfadbf4b9
commit
430f5852ac
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user