Исправлено предупреждение о производительности

This commit is contained in:
Kernell 2015-12-01 00:03:07 +03:00
parent 424fc2dfd3
commit 14eae5496a

View File

@ -85,7 +85,7 @@ void CMonoDomain::Unload( void )
bool CMonoDomain::Set( bool bForce )
{
return mono_domain_set( this->m_pDomain, bForce );
return mono_domain_set( this->m_pDomain, static_cast<mono_bool>( bForce ) ) == 1;
}
MonoAssembly* CMonoDomain::OpenAssembly( const char *szName )