From ad41b7460f29b7739fec5a32839ca21ca5bf27f3 Mon Sep 17 00:00:00 2001 From: David Li Date: Fri, 11 Aug 2023 17:05:00 -0400 Subject: [PATCH] chore: fix R warnings --- r/adbcdrivermanager/src/driver_log.c | 3 ++- r/adbcdrivermanager/src/driver_monkey.c | 2 +- r/adbcdrivermanager/src/driver_void.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/r/adbcdrivermanager/src/driver_log.c b/r/adbcdrivermanager/src/driver_log.c index 543ae9a7a9..2565aad814 100644 --- a/r/adbcdrivermanager/src/driver_log.c +++ b/r/adbcdrivermanager/src/driver_log.c @@ -111,7 +111,8 @@ static AdbcStatusCode LogConnectionCommit(struct AdbcConnection* connection, } static AdbcStatusCode LogConnectionGetInfo(struct AdbcConnection* connection, - uint32_t* info_codes, size_t info_codes_length, + const uint32_t* info_codes, + size_t info_codes_length, struct ArrowArrayStream* stream, struct AdbcError* error) { Rprintf("LogConnectionGetInfo()\n"); diff --git a/r/adbcdrivermanager/src/driver_monkey.c b/r/adbcdrivermanager/src/driver_monkey.c index 9076975741..1eb88a51f4 100644 --- a/r/adbcdrivermanager/src/driver_monkey.c +++ b/r/adbcdrivermanager/src/driver_monkey.c @@ -105,7 +105,7 @@ static AdbcStatusCode MonkeyConnectionCommit(struct AdbcConnection* connection, } static AdbcStatusCode MonkeyConnectionGetInfo(struct AdbcConnection* connection, - uint32_t* info_codes, + const uint32_t* info_codes, size_t info_codes_length, struct ArrowArrayStream* stream, struct AdbcError* error) { diff --git a/r/adbcdrivermanager/src/driver_void.c b/r/adbcdrivermanager/src/driver_void.c index 59cfe03607..a17ae8a330 100644 --- a/r/adbcdrivermanager/src/driver_void.c +++ b/r/adbcdrivermanager/src/driver_void.c @@ -105,7 +105,7 @@ static AdbcStatusCode VoidConnectionCommit(struct AdbcConnection* connection, } static AdbcStatusCode VoidConnectionGetInfo(struct AdbcConnection* connection, - uint32_t* info_codes, + const uint32_t* info_codes, size_t info_codes_length, struct ArrowArrayStream* stream, struct AdbcError* error) {