Skip to content

Commit

Permalink
address format issues on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbutuseless committed Mar 16, 2024
1 parent 72e2f9a commit 88700bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geojson-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ SEXP parse_geojson_str_(SEXP str_, SEXP geo_opts_, SEXP parse_opts_) {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (doc == NULL) {
output_verbose_error(str, err);
error("Error parsing JSON: %s code: %u at position: %ld\n", err.msg, err.code, err.pos);
error("Error parsing JSON: %s code: %u at position: %ld\n", err.msg, err.code, (long)err.pos);
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1601,7 +1601,7 @@ SEXP parse_geojson_file_(SEXP filename_, SEXP geo_opts_, SEXP parse_opts_) {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (doc == NULL) {
error("Error parsing JSON file '%s': %s code: %u at position: %ld\n",
filename, err.msg, err.code, err.pos);
filename, err.msg, err.code, (long)err.pos);
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 88700bc

Please sign in to comment.