From 0a3c8c3d8f9b5201896fd24dac02bb316337135b Mon Sep 17 00:00:00 2001 From: granzuglia Date: Sat, 9 Aug 2014 09:50:42 +0000 Subject: [PATCH] export_idtf.h: - removed Visual Studio warnings --- wrap/io_trimesh/export_idtf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/export_idtf.h b/wrap/io_trimesh/export_idtf.h index 5c0aae81..ac393c40 100644 --- a/wrap/io_trimesh/export_idtf.h +++ b/wrap/io_trimesh/export_idtf.h @@ -360,7 +360,7 @@ typedef typename SaveMeshType::CoordType CoordType; idtf.write(2,"SHADER_MATERIAL_NAME \"Mat01\""); - int texcount = 0; + size_t texcount = 0; if (mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD) texcount = m.textures.size(); @@ -429,7 +429,7 @@ typedef typename SaveMeshType::CoordType CoordType; if (mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD) idtf.write(3,"MODEL_TEXTURE_COORD_COUNT " + TextUtility::nmbToStr(m.face.size() * 3)); else idtf.write(3,"MODEL_TEXTURE_COORD_COUNT 0"); idtf.write(3,"MODEL_BONE_COUNT 0"); - unsigned int mod_sha; + size_t mod_sha; if (m.textures.size() == 0) mod_sha = 1; else