diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 6186b9d6..233ffb2c 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.15 2005/02/08 17:14:28 tarini +aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp + Revision 1.14 2004/10/14 15:08:04 pietroni added #include @@ -325,7 +328,9 @@ static FaceIterator AddFaces(MeshType &m, int n, PointerUpdater &pu { if(VertexType::HasVFAdjacency()) if ((*vi).VFp()!=0) - pu.Update((FaceType*)(*vi).VFp()); + pu.Update((*vi).VFp()); + // was (for mingw) pu.Update((FaceType*)(*vi).VFp()); + } // e poiche' lo spazio e' cambiato si ricalcola anche last da zero unsigned int siz=m.face.size()-n;