diff options
Diffstat (limited to 'src/core/gnunet-service-core_kx.c')
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index a0c343737..906898512 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c | |||
@@ -319,7 +319,7 @@ struct GSC_KeyExchangeInfo | |||
319 | * last were received (good for accepting out-of-order packets and | 319 | * last were received (good for accepting out-of-order packets and |
320 | * estimating reliability of the connection) | 320 | * estimating reliability of the connection) |
321 | */ | 321 | */ |
322 | unsigned int last_packets_bitmap; | 322 | uint32_t last_packets_bitmap; |
323 | 323 | ||
324 | /** | 324 | /** |
325 | * last sequence number received on this connection (highest) | 325 | * last sequence number received on this connection (highest) |
@@ -1573,7 +1573,7 @@ handle_encrypted (void *cls, | |||
1573 | } | 1573 | } |
1574 | if (kx->last_sequence_number_received > snum) | 1574 | if (kx->last_sequence_number_received > snum) |
1575 | { | 1575 | { |
1576 | unsigned int rotbit = 1 << (kx->last_sequence_number_received - snum - 1); | 1576 | uint32_t rotbit = 1U << (kx->last_sequence_number_received - snum - 1); |
1577 | 1577 | ||
1578 | if ((kx->last_packets_bitmap & rotbit) != 0) | 1578 | if ((kx->last_packets_bitmap & rotbit) != 0) |
1579 | { | 1579 | { |