Преглед на файлове

Eliminated error in MSVC.

Andreas Henne преди 10 години
родител
ревизия
816ceeda69
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      code/STLLoader.cpp

+ 2 - 2
code/STLLoader.cpp

@@ -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