Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 30, 2023
1 parent 74b518b commit cc3eaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml2_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int xml_write_callback(SEXP con, const char * buffer, int len) {
size_t write_size;

if ((write_size = R_WriteConnection(con, (void *) buffer, len)) != static_cast<size_t>(len)) {
Rf_error("write failed, expected %i, got %i", len, write_size);
Rf_error("write failed, expected %i, got %li", len, write_size);
}
return write_size;
}
Expand Down

0 comments on commit cc3eaf9

Please sign in to comment.