From bcb17676a445c550c1851c42452a357b433abe05 Mon Sep 17 00:00:00 2001 From: Russell Rice Date: Mon, 27 Nov 2006 21:45:50 +0000 Subject: * removal of FEATURE_* defines from codeblocks project * silence some warnings Subversion-branch: /trunk/chocolate-doom Subversion-revision: 760 --- src/net_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net_common.c') 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! // -- cgit v1.2.3