Skip to content

Commit 47958b3

Browse files
committed
Change the line that has already been fixed
1 parent 3e0926b commit 47958b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl<'a> Socket<'a> {
677677
/// Used in internal calculations as well as packet generation.
678678
#[inline]
679679
fn scaled_window(&self) -> u16 {
680-
u16::try_from(self.rx_buffer.window() >> self.remote_win_shift as usize).unwrap_or(u16::MAX)
680+
u16::try_from(self.rx_buffer.window() >> self.remote_win_shift).unwrap_or(u16::MAX)
681681
}
682682

683683
/// Return the last window field value, including scaling according to RFC 1323.

0 commit comments

Comments
 (0)