Skip to content

Commit

Permalink
Cast this
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Nov 28, 2023
1 parent d400e77 commit 2393b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vroom_write.cc
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void write_buf_con(const std::vector<char>& buf, SEXP con, bool is_stdout) {
if (is_stdout) {
std::string out;
std::copy(buf.begin(), buf.end(), std::back_inserter(out));
Rprintf("%.*s", buf.size(), out.c_str());
Rprintf("%.*s", (int) buf.size(), out.c_str());
} else {
write_buf(buf, con);
}
Expand Down

0 comments on commit 2393b89

Please sign in to comment.