Fix some more GCC warnings

This was SVN commit r7045.
This commit is contained in:
Ykkrosh
2009-07-28 09:27:56 +00:00
parent 38782c4606
commit cdfb58a62f
14 changed files with 35 additions and 27 deletions
+2 -2
View File
@@ -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 );
}