From 242883d6c81064db5baaa78eaad0f7981c94e30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 28 Nov 2023 14:35:55 +0100 Subject: [PATCH] fix: Fix compiler warning regarding formatting specifier used in `Rf_warning()` --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.cpp b/src/connection.cpp index 203f885b8..90b2cc60e 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -58,7 +58,7 @@ void connection_release(cpp11::external_pointer 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 ); }