warning fixes

GameSetup.cpp: add support for new internal/public mod layout

This was SVN commit r6393.
This commit is contained in:
janwas
2008-09-18 11:31:12 +00:00
parent c4654fd8fa
commit 40a7da782e
19 changed files with 54 additions and 45 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ u8* CNetMessage::Serialize( u8* pBuffer ) const
// Serialize message type and its size
*( ( NetMessageType* )pBuffer ) = m_Type;
*( ( uint* )( pBuffer + sizeof( NetMessageType ) ) ) = GetSerializedLength();
*( ( size_t* )( pBuffer + sizeof( NetMessageType ) ) ) = GetSerializedLength();
return pBuffer + sizeof( NetMessageType ) + sizeof( uint );
}