diff options
Diffstat (limited to 'crates/tor-proto/src/client/reactor')
| -rw-r--r-- | crates/tor-proto/src/client/reactor/conflux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tor-proto/src/client/reactor/conflux.rs b/crates/tor-proto/src/client/reactor/conflux.rs index 1d6993ff5..5cfa431d8 100644 --- a/crates/tor-proto/src/client/reactor/conflux.rs +++ b/crates/tor-proto/src/client/reactor/conflux.rs @@ -386,7 +386,7 @@ impl ConfluxSet { // If data is in progress on the leg (inflight > cc_sendme_inc), // then all legs must be closed - if inflight >= cwnd.params().sendme_inc() { + if inflight >= u32::from(cwnd.params().sendme_inc()) { return Err(ReactorError::Shutdown); } |
