mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Fix a signed/unsigned comparison warning in scheduler_run
This commit is contained in:
parent
0bfadbf4b9
commit
430f5852ac
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ scheduler_run, (void))
|
||||||
flushed_this_time =
|
flushed_this_time =
|
||||||
channel_flush_some_cells(chan,
|
channel_flush_some_cells(chan,
|
||||||
MIN(sched_max_flush_cells,
|
MIN(sched_max_flush_cells,
|
||||||
n_cells - flushed));
|
(size_t) n_cells - flushed));
|
||||||
if (flushed_this_time <= 0) break;
|
if (flushed_this_time <= 0) break;
|
||||||
flushed += flushed_this_time;
|
flushed += flushed_this_time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue