Eliminated error in MSVC.

pull/633/head
Andreas Henne 2015-03-20 14:18:26 +01:00
parent 59b0819866
commit 816ceeda69
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ void STLImporter::InternReadFile( const std::string& pFile,
pScene->mRootNode = new aiNode();
pScene->mRootNode->mNumMeshes = pScene->mNumMeshes;
pScene->mRootNode->mMeshes = new unsigned int[pScene->mNumMeshes];
for (uint i = 0; i < pScene->mNumMeshes; i++)
for (unsigned int i = 0; i < pScene->mNumMeshes; i++)
pScene->mRootNode->mMeshes[i] = i;
// create a single default material, using a light gray diffuse color for consistency with
@ -254,7 +254,7 @@ void STLImporter::LoadASCIIFile()
}
else pScene->mRootNode->mName.Set("<STL_ASCII>");
uint faceVertexCounter = 0;
unsigned int faceVertexCounter = 0;
for ( ;; )
{
// go to the next token