mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 15:34:37 +00:00
Fix some more GCC warnings
This was SVN commit r7045.
This commit is contained in:
@@ -250,7 +250,7 @@ bool CNetClient::OnError( void* pContext, CFsmEvent* pEvent )
|
||||
if ( !pEvent || !pContext ) return false;
|
||||
|
||||
// Error event?
|
||||
if ( pEvent->GetType() != NMT_ERROR ) return true;
|
||||
if ( pEvent->GetType() != (uint)NMT_ERROR ) return true;
|
||||
|
||||
CNetClient* pClient = ( CNetClient* )( ( FsmActionCtx* )pContext )->pHost;
|
||||
assert( pClient );
|
||||
@@ -364,7 +364,7 @@ bool CNetClient::OnAuthenticate( void* pContext, CFsmEvent* pEvent )
|
||||
assert( pClient );
|
||||
assert( pSession );
|
||||
|
||||
if ( pEvent->GetType() == NMT_ERROR )
|
||||
if ( pEvent->GetType() == (uint)NMT_ERROR )
|
||||
{
|
||||
// return CNetClient::OnError( pContext, pEvent );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user