diff options
author | Russell Rice | 2006-11-27 21:45:50 +0000 |
---|---|---|
committer | Russell Rice | 2006-11-27 21:45:50 +0000 |
commit | bcb17676a445c550c1851c42452a357b433abe05 (patch) | |
tree | 95f2552b037a1893e4226491ea56097aa56698d6 /src | |
parent | aed91e3cc7bc960f570a987c02097bd4202655df (diff) | |
download | chocolate-doom-bcb17676a445c550c1851c42452a357b433abe05.tar.gz chocolate-doom-bcb17676a445c550c1851c42452a357b433abe05.tar.bz2 chocolate-doom-bcb17676a445c550c1851c42452a357b433abe05.zip |
* removal of FEATURE_* defines from codeblocks project
* silence some warnings
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 760
Diffstat (limited to 'src')
-rw-r--r-- | src/net_common.c | 4 |
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! // |