From a1636896aa0deca64487a11a77f6dbce2d3452a4 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Fri, 17 Oct 2014 12:03:37 -0300 Subject: [PATCH] Fixed compilation warning on unsigned integral constant. --- src/tcp_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcp_stream.cpp b/src/tcp_stream.cpp index 26ef681..964fe22 100644 --- a/src/tcp_stream.cpp +++ b/src/tcp_stream.cpp @@ -34,7 +34,7 @@ namespace Tins { // As defined by RFC 1982 - 2 ^ (SERIAL_BITS - 1) -static const uint32_t seq_number_diff = 2147483648; +static const uint32_t seq_number_diff = 2147483648U; // As defined by RFC 1982 - 2 ^ (SERIAL_BITS) static const uint32_t addition_modulo = std::numeric_limits::max();