First diff from Andreas Schneider:

here are gcc4 signedness fixes for latest svn :)
This commit is contained in:
Zachary Slater 2005-08-31 18:00:00 +00:00
parent 23d08fae65
commit 06c73f5e59
7 changed files with 16 additions and 11 deletions

View file

@ -106,7 +106,7 @@ static void CL_Netchan_Decode( msg_t *msg ) {
msg->bit = sbit;
msg->readcount = srdc;
string = clc.reliableCommands[ reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ];
string = (byte *) clc.reliableCommands[ reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ];
index = 0;
// xor the client challenge with the netchan sequence number (need something that changes every message)
key = clc.challenge ^ LittleLong( *(unsigned *)msg->data );