From 9350fe2427600e8919f5a35fdc623e2a0ca65e5c Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 29 Apr 2006 08:35:50 +0000 Subject: [PATCH] Fix warnings. --- stepmania/src/RageModelGeometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;