summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_common.c b/src/net_common.c
index b9a8487d..31444e28 100644
--- a/src/net_common.c
+++ b/src/net_common.c
@@ -191,7 +191,7 @@ static void NET_Conn_ParseReliableACK(net_connection_t *conn, net_packet_t *pack
// Is this an acknowledgement for the first packet in the list?
- if (seq == ((conn->reliable_packets->seq + 1) & 0xff))
+ if (seq == (unsigned int)((conn->reliable_packets->seq + 1) & 0xff))
{
net_reliable_packet_t *rp;
@@ -224,7 +224,7 @@ static boolean NET_Conn_ReliablePacket(net_connection_t *conn,
return true;
}
- if (seq != (conn->reliable_recv_seq & 0xff))
+ if (seq != (unsigned int)(conn->reliable_recv_seq & 0xff))
{
// This is not the next expected packet in the sequence!
//