Explorar o código

Fixed build warnings on MSVC14 x64 in the COB format sources.

Jared Mulconry %!s(int64=8) %!d(string=hai) anos
pai
achega
2866da1262
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/COBLoader.cpp

+ 1 - 1
code/COBLoader.cpp

@@ -181,7 +181,7 @@ void COBImporter::InternReadFile( const std::string& pFile,
         if (n->type == Node::TYPE_MESH) {
         if (n->type == Node::TYPE_MESH) {
             Mesh& mesh = (Mesh&)(*n.get());
             Mesh& mesh = (Mesh&)(*n.get());
             if (mesh.vertex_positions.size() && mesh.texture_coords.size()) {
             if (mesh.vertex_positions.size() && mesh.texture_coords.size()) {
-                pScene->mNumMeshes += mesh.temp_map.size();
+                pScene->mNumMeshes += static_cast<unsigned int>(mesh.temp_map.size());
             }
             }
         }
         }
     }
     }