From 56609abbb0837a6d5d53447426068eecf943a280 Mon Sep 17 00:00:00 2001 From: mtarini Date: Tue, 8 Feb 2005 17:14:28 +0000 Subject: [PATCH] aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp --- vcg/complex/trimesh/allocate.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 6402581c..6186b9d6 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2004/10/14 15:08:04 pietroni +added #include + Revision 1.13 2004/09/07 07:36:32 fasano Replaced some typename definitions @@ -322,7 +325,7 @@ static FaceIterator AddFaces(MeshType &m, int n, PointerUpdater &pu { if(VertexType::HasVFAdjacency()) if ((*vi).VFp()!=0) - pu.Update((*vi).VFp()); + pu.Update((FaceType*)(*vi).VFp()); } // e poiche' lo spazio e' cambiato si ricalcola anche last da zero unsigned int siz=m.face.size()-n;