diff --git a/Boolean_set_operations_2/examples/Boolean_set_operations_2/set_union.cpp b/Boolean_set_operations_2/examples/Boolean_set_operations_2/set_union.cpp index 87d767827a8..b773a38e6b2 100644 --- a/Boolean_set_operations_2/examples/Boolean_set_operations_2/set_union.cpp +++ b/Boolean_set_operations_2/examples/Boolean_set_operations_2/set_union.cpp @@ -52,7 +52,7 @@ int main (int argc, char * argv[]) { // Read the number of circles from the command line. unsigned int n_circles = 8; - if (argc > 1) n_circles = atoi(argv[1]); + if (argc > 1) n_circles = std::atoi(argv[1]); // Create the circles, equally spaced of the circle x^2 + y^2 = 1. const double pi = std::atan(1.0) * 4;