mirror of https://github.com/CGAL/cgal
Fix the error
"set_union.cpp", line 55: Error: The function "atoi" must have a prototype. detected by Sun CC.
This commit is contained in:
parent
b6e3c307dc
commit
5e06f05acd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue