aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
commit227d86d227c6951ee2bd98388e7960c479c2b2e6 (patch)
tree9a52b67cedd0be176d2b8a8be505a5b178f356b9 /code/server
parent389b14cfcd3855222e0fafbbc40cbb71df595fef (diff)
downloadioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.tar.gz
ioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.zip
First diff from Andreas Schneider:
here are gcc4 signedness fixes for latest svn :) git-svn-id: svn://svn.icculus.org/quake3/trunk@50 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index d5b7353..fa6a4c8 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -506,7 +506,7 @@ void SV_ConnectionlessPacket( netadr_t from, msg_t *msg ) {
MSG_BeginReadingOOB( msg );
MSG_ReadLong( msg ); // skip the -1 marker
- if (!Q_strncmp("connect", &msg->data[4], 7)) {
+ if (!Q_strncmp("connect", (char *) &msg->data[4], 7)) {
Huff_Decompress(msg, 12);
}