diff options
Diffstat (limited to 'src/lib/tls/tls_seq_numbers.h')
-rw-r--r-- | src/lib/tls/tls_seq_numbers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_seq_numbers.h b/src/lib/tls/tls_seq_numbers.h index ece329494..c5741b998 100644 --- a/src/lib/tls/tls_seq_numbers.h +++ b/src/lib/tls/tls_seq_numbers.h @@ -102,7 +102,7 @@ class Datagram_Sequence_Numbers final : public Connection_Sequence_Numbers if(sequence > m_window_highest) { - const size_t offset = sequence - m_window_highest; + const uint64_t offset = sequence - m_window_highest; m_window_highest += offset; if(offset >= window_size) |