From b2727b1394fc242079ca819d1858ad4de774d662 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Fri, 25 Jun 2021 19:29:46 +0200 Subject: [PATCH] warnings fixed --- vcg/complex/append.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/append.h b/vcg/complex/append.h index 2d342038..1f064611 100644 --- a/vcg/complex/append.h +++ b/vcg/complex/append.h @@ -410,7 +410,7 @@ static void MeshAppendConst( if(adjFlag) ImportVertexAdj(ml,mr,vl,v,remap); if (vertTexFlag){ - if (v.T().n() < mappingTextures.size()) { + if (size_t(v.T().n()) < mappingTextures.size()) { //standard case: the texture is contained in the mesh vl.T().n() = mappingTextures[v.T().n()]; } @@ -452,7 +452,7 @@ static void MeshAppendConst( fl.ImportData(f); if(wedgeTexFlag) { for(int i = 0; i < fl.VN(); ++i){ - if (f.WT(i).n() < mappingTextures.size()){ + if (size_t(f.WT(i).n()) < mappingTextures.size()){ //standard case: the texture is contained in the mesh fl.WT(i).n() = mappingTextures[f.WT(i).n()]; }