File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ static void usage(const char* appName) {
9999 printf (" and the (x, y, z) coordinates are placed on a sphere with radius 1.\n " );
100100 printf (" The (x, y, z) coordinates are primarily meant for visualization of the data set.\n " );
101101 printf (" \n " );
102- printf (" \n Notes on the use of stdout and stderr:\n " );
103- printf (" \n stdout: used for outputting 3D point data; stderr: used for statistics." );
104- printf (" \n You can redirect stdout to a destination file, while stderr will show progress.\n " );
102+ printf (" Notes on the use of stdout and stderr:\n " );
103+ printf (" stdout: used for outputting 3D point data; stderr: used for statistics." );
104+ printf (" You can redirect stdout to a destination file, while stderr will show progress.\n " );
105105 printf (" \n " );
106106 printf (" The result code is 0 when no error occurred, 1 if an input error occurred and 2\n " );
107107 printf (" if an internal error occurred.\n " );
@@ -585,7 +585,7 @@ int main(const int argc, const char** argv)
585585
586586 int gridX = 0 ;
587587 int gridY = 0 ;
588- int line = my_round (sqrt (totalNrOfPoints));
588+ int line = my_round (sqrt (( double ) totalNrOfPoints));
589589 for (int i = 0 ; i < totalNrOfPoints; ++i) {
590590 double lat;
591591 double lon;
You can’t perform that action at this time.
0 commit comments