diff --git a/Box_intersection_d/test/Box_intersection_d/automated_test.cpp b/Box_intersection_d/test/Box_intersection_d/automated_test.cpp index 3355aca72fb..689df8f5194 100644 --- a/Box_intersection_d/test/Box_intersection_d/automated_test.cpp +++ b/Box_intersection_d/test/Box_intersection_d/automated_test.cpp @@ -95,8 +95,8 @@ operator()( const char* filename1, const char* filename2 ) std::cout << "segment tree ...... " << std::flush; timer.reset(); timer.start(); - const unsigned int n = boxes1.size(); - const unsigned int cutoff = n < 2000 ? 6 : n / 100; + const std::size_t n = boxes1.size(); + const std::size_t cutoff = n < 2000 ? 6 : n / 100; CGAL::box_intersection_custom_predicates_d( boxes1.begin(), boxes1.end(), boxes2.begin(), boxes2.end(), callback3, diff --git a/Box_intersection_d/test/Box_intersection_d/benchmark.cpp b/Box_intersection_d/test/Box_intersection_d/benchmark.cpp index 85190c71d9c..119e18c4216 100644 --- a/Box_intersection_d/test/Box_intersection_d/benchmark.cpp +++ b/Box_intersection_d/test/Box_intersection_d/benchmark.cpp @@ -51,7 +51,7 @@ test_n( unsigned int n, std::ostream& outfile ) typename Uti1::Counter_callback callback1, callback2; CGAL::Timer timer, timer_scan; double time, time_scan; - unsigned int problemsize = boxes1.size() + boxes2.size(); + std::size_t problemsize = boxes1.size() + boxes2.size(); unsigned int cutoff = 0; unsigned int stepsize = 500; double last_time = 1e30;