From c1def7afc70b9841080bdbe65d336d9ef48065af Mon Sep 17 00:00:00 2001 From: Sebastien Loriot Date: Tue, 28 Jul 2015 17:15:06 +0200 Subject: [PATCH] fix warning --- NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h b/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h index 8e9b77f01d6..26c014068f8 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h @@ -65,7 +65,7 @@ template struct Array_vector { struct Iterator { template Vector operator()(unsigned CGAL_assertion_code(d),Iter const& f,Iter const& e) const { - CGAL_assertion(d==std::distance(f,e)); + CGAL_assertion(d==(unsigned) std::distance(f,e)); CGAL_assertion(d<=d_); //TODO: optimize for forward iterators Vector a;