From b265c6c9199e8462e00380de8ed714ec4bc8c4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 22 Nov 2010 07:48:42 +0000 Subject: [PATCH] long -> std:size_t to avoid a warning --- .../include/CGAL/Sweep_line_2/Sweep_line_2_impl.h | 1 + Nef_3/include/CGAL/OFF_to_nef_3.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Sweep_line_2/Sweep_line_2_impl.h b/Arrangement_on_surface_2/include/CGAL/Sweep_line_2/Sweep_line_2_impl.h index 7130314c6c0..d6233521379 100644 --- a/Arrangement_on_surface_2/include/CGAL/Sweep_line_2/Sweep_line_2_impl.h +++ b/Arrangement_on_surface_2/include/CGAL/Sweep_line_2/Sweep_line_2_impl.h @@ -260,6 +260,7 @@ void Sweep_line_2::_handle_right_curves () (static_cast(*currentOne), static_cast(*prevOne))) { + this->m_currentEvent->set_intersection(); _intersect(*prevOne, *currentOne); } diff --git a/Nef_3/include/CGAL/OFF_to_nef_3.h b/Nef_3/include/CGAL/OFF_to_nef_3.h index 14a2cf4c174..fdbab0a199a 100644 --- a/Nef_3/include/CGAL/OFF_to_nef_3.h +++ b/Nef_3/include/CGAL/OFF_to_nef_3.h @@ -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;