From 3b0ee9316d395acc90537ac37ffbd054dcd93cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 8 Dec 2016 09:49:41 +0100 Subject: [PATCH] Use static casts --- src/OpenMesh/Core/IO/writer/OBJWriter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/IO/writer/OBJWriter.cc b/src/OpenMesh/Core/IO/writer/OBJWriter.cc index 55a38f3c..66cf3b3f 100644 --- a/src/OpenMesh/Core/IO/writer/OBJWriter.cc +++ b/src/OpenMesh/Core/IO/writer/OBJWriter.cc @@ -275,9 +275,9 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec { for (size_t i=0, nF=_be.n_faces(); i(i)); t = _be.texcoord(vh); - texMap[t] = (int)i; + texMap[t] = static_cast(i); } }