bugfix: fix compiler warnings for gcc-4.8.1.
This commit is contained in:
@@ -109,11 +109,11 @@ void BlenderBMeshConverter::AssertValidMesh( )
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void BlenderBMeshConverter::AssertValidSizes( )
|
||||
{
|
||||
if ( BMesh->totpoly != BMesh->mpoly.size( ) )
|
||||
if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) )
|
||||
{
|
||||
ThrowException( "BMesh poly array has incorrect size" );
|
||||
}
|
||||
if ( BMesh->totloop != BMesh->mloop.size( ) )
|
||||
if ( BMesh->totloop != static_cast<int>( BMesh->mloop.size( ) ) )
|
||||
{
|
||||
ThrowException( "BMesh loop array has incorrect size" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user