diff --git a/stepmania/src/RageModelGeometry.cpp b/stepmania/src/RageModelGeometry.cpp index 5f147954d6..d6848f22fe 100644 --- a/stepmania/src/RageModelGeometry.cpp +++ b/stepmania/src/RageModelGeometry.cpp @@ -248,9 +248,9 @@ void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNo for( int k=0; k<3; k++ ) { ASSERT_M( nIndices[k] < Vertices.size(), ssprintf("mesh \"%s\" tri #%i accesses vertex %i, but we only have %i", - szName, j, nIndices[k], Vertices.size()) ); + szName, j, nIndices[k], int(Vertices.size())) ); ASSERT_M( nNormalIndices[k] < Normals.size(), ssprintf("mesh \"%s\" tri #%i accesses normal %i, but we only have %i", - szName, j, nNormalIndices[k], Normals.size()) ); + szName, j, nNormalIndices[k], int(Normals.size())) ); RageModelVertex& vertex = Vertices[ nIndices[k] ]; RageVector3& normal = Normals[ nNormalIndices[k] ]; vertex.n = normal;