Skip to content

Commit

Permalink
Merge pull request #482 from r-dbi/b-sprintf
Browse files Browse the repository at this point in the history
fix: Fix compiler warning regarding formatting specifier used in `Rf_warning()`
  • Loading branch information
aviator-app[bot] authored Nov 28, 2023
2 parents 29f616b + 242883d commit 828ff95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void connection_release(cpp11::external_pointer<DbConnectionPtr> con_) {
long n = con_->use_count();
if (n > 1) {
Rf_warning(
"There are %i result in use. The connection will be released when they are closed",
"There are %ld result in use. The connection will be released when they are closed",
n - 1
);
}
Expand Down

0 comments on commit 828ff95

Please sign in to comment.