Skip to content

Commit

Permalink
BUFFER_SIZE for a few more constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dfellis committed Oct 14, 2024
1 parent d6a22f6 commit d63accf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/filters/h3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ SUBCOMMAND(greatCircleDistanceRads,
exit(1);
}
// Do the initial population of data from the file
if (fread(coordinateStr, 1, 1500, fp) == 0) {
if (fread(coordinateStr, 1, BUFFER_SIZE, fp) == 0) {
fprintf(stderr, "The specified file is empty.");
exit(1);
}
Expand Down Expand Up @@ -2322,7 +2322,7 @@ SUBCOMMAND(greatCircleDistanceKm,
exit(1);
}
// Do the initial population of data from the file
if (fread(coordinateStr, 1, 1500, fp) == 0) {
if (fread(coordinateStr, 1, BUFFER_SIZE, fp) == 0) {
fprintf(stderr, "The specified file is empty.");
exit(1);
}
Expand Down Expand Up @@ -2393,7 +2393,7 @@ SUBCOMMAND(greatCircleDistanceM,
exit(1);
}
// Do the initial population of data from the file
if (fread(coordinateStr, 1, 1500, fp) == 0) {
if (fread(coordinateStr, 1, BUFFER_SIZE, fp) == 0) {
fprintf(stderr, "The specified file is empty.");
exit(1);
}
Expand Down

0 comments on commit d63accf

Please sign in to comment.