long -> std:size_t to avoid a warning

This commit is contained in:
Sébastien Loriot 2010-11-22 07:48:42 +00:00
parent cc654c2837
commit b265c6c919
2 changed files with 2 additions and 1 deletions

View File

@ -260,6 +260,7 @@ void Sweep_line_2<Tr, Vis, Subcv, Evnt, Alloc>::_handle_right_curves ()
(static_cast<Subcurve*>(*currentOne),
static_cast<Subcurve*>(*prevOne)))
{
this->m_currentEvent->set_intersection();
_intersect(*prevOne, *currentOne);
}

View File

@ -129,7 +129,7 @@ OFF_to_nef_3 (std::istream &i_st, Nef_3 &nef_union, bool verb=false)
// declarations and defaults
std::size_t discarded_facets=0;
long idx;
std::size_t idx;
#ifdef CGAL_NEF_OFF_TO_NEF_TIMER
CGAL::Timer t_convert, t_union;