diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-18 19:32:11 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-18 19:32:11 +0000 |
commit | b7d3939f3f68617f80d74d0a2bf6ea34ddea1065 (patch) | |
tree | 65ddb08896c05b73b427267b0f22034839fd5420 /source/cl_parse.c | |
parent | 24ea5c3d91c6aec73b8ef9633bf5a12146055c42 (diff) |
Renamed `gtv.h' to `mvd_gtv.h'.
A few fixes here and there.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r-- | source/cl_parse.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c index b5f2b08..b6c9206 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -1051,13 +1051,13 @@ CL_ParseStartSoundPacket */ static void CL_ParseStartSoundPacket( void ) { vec3_t pos_v; - float *pos; + float *pos; int channel, ent; int sound_num; - float volume; - float attenuation; - int flags; - float ofs; + float volume; + float attenuation; + int flags; + float ofs; flags = MSG_ReadByte(); sound_num = MSG_ReadByte(); @@ -1312,9 +1312,9 @@ static void CL_ParseInventory( void ) { static void CL_ParseZPacket( void ) { #if USE_ZLIB - sizebuf_t temp; + sizebuf_t temp; byte buffer[MAX_MSGLEN]; - unsigned inlen, outlen; + size_t inlen, outlen; if( msg_read.data != msg_read_buffer ) { Com_Error( ERR_DROP, "%s: recursively entered", __func__ ); @@ -1333,9 +1333,9 @@ static void CL_ParseZPacket( void ) { inflateReset( &cls.z ); cls.z.next_in = msg_read.data + msg_read.readcount; - cls.z.avail_in = inlen; + cls.z.avail_in = ( uInt )inlen; cls.z.next_out = buffer; - cls.z.avail_out = outlen; + cls.z.avail_out = ( uInt )outlen; if( inflate( &cls.z, Z_FINISH ) != Z_STREAM_END ) { Com_Error( ERR_DROP, "%s: inflate() failed: %s", __func__, cls.z.msg ); } |