1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fixed compilation warning on unsigned integral constant.

This commit is contained in:
Matias Fontanini
2014-10-17 12:03:37 -03:00
parent e7435d3974
commit a1636896aa

View File

@@ -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<uint32_t>::max();