From 6428c6b9f4daad0e5ddbccad08b6f72cf9942171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 23 Jul 2013 15:34:18 +0000 Subject: [PATCH] Fixed more warnings git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@848 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Mesh/ArrayKernelT.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OpenMesh/Core/Mesh/ArrayKernelT.cc b/src/OpenMesh/Core/Mesh/ArrayKernelT.cc index adab5348..58ed4ad4 100644 --- a/src/OpenMesh/Core/Mesh/ArrayKernelT.cc +++ b/src/OpenMesh/Core/Mesh/ArrayKernelT.cc @@ -76,7 +76,7 @@ void ArrayKernel::garbage_collection(std_API_Container_VHandlePointer& vh_to_upd const bool track_hhandles = ( !hh_to_update.empty() ); const bool track_fhandles = ( !fh_to_update.empty() ); - int i, i0, i1, nV(n_vertices()), nE(n_edges()), nH(2*n_edges()), nF(n_faces()); + int i, i0, i1, nV(int(n_vertices())), nE(int(n_edges())), nH(int(2*n_edges())), nF(int(n_faces())); std::vector vh_map; std::vector hh_map; @@ -247,9 +247,9 @@ void ArrayKernel::garbage_collection(std_API_Container_VHandlePointer& vh_to_upd } } - const int vertexCount = vertices_.size(); - const int halfedgeCount = edges_.size() * 2; - const int faceCount = faces_.size(); + const int vertexCount = int(vertices_.size()); + const int halfedgeCount = int(edges_.size() * 2); + const int faceCount = int(faces_.size()); // Update the vertex handles in the vertex handle vector typename std_API_Container_VHandlePointer::iterator v_it(vh_to_update.begin()), v_it_end(vh_to_update.end());