fix conversion from size_t to unsigned

This commit is contained in:
Sébastien Loriot 2012-07-14 08:03:33 +00:00
parent 0ce2a5cd54
commit c6c8fc571b
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ class Import_volume_as_polyhedron : public CGAL::Modifier_base<HDS> {
//data members
Face_handle current_face;
std::vector< typename Vertex::Point > points;
unsigned nb_edges;
std::size_t nb_edges;
std::vector<CGAL::cpp0x::tuple<unsigned,unsigned,unsigned> > faces;
typename HDS::Halfedge::Base*

View File

@ -2098,8 +2098,8 @@ public:
++it )
{
internal_IOP::Volume_info<Polyhedron>& info=it->template attribute<3>()->info();
unsigned inside_size=info.inside.size();
unsigned outside_size=info.outside.size();
std::size_t inside_size=info.inside.size();
std::size_t outside_size=info.outside.size();
if ( inside_size + outside_size == 1)
{
bool is_inside = (inside_size==1);