From c67fb7316ef9ad580509814189eaf99ad16d798d Mon Sep 17 00:00:00 2001 From: yuval Lifshitz Date: Thu, 10 Nov 2022 15:21:56 +0200 Subject: rgw/file: change function signature to match the one generated by cython without this change, clang16 fails to compile, due to conversion from "bool" to "int". see error: https://paste.sh/QybPVNdh#OtffZeqJKcsqUVMupPYD11Kl Signed-off-by: yuval Lifshitz --- src/test/librgw_file_gp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/librgw_file_gp.cc') diff --git a/src/test/librgw_file_gp.cc b/src/test/librgw_file_gp.cc index 56b61dce4be..4c4cfaa61b1 100644 --- a/src/test/librgw_file_gp.cc +++ b/src/test/librgw_file_gp.cc @@ -213,7 +213,7 @@ TEST(LibRGW, LOOKUP_BUCKET) { } extern "C" { - static bool r2_cb(const char* name, void *arg, uint64_t offset, + static int r2_cb(const char* name, void *arg, uint64_t offset, struct stat *st, uint32_t st_mask, uint32_t flags) { // don't need arg--it would point to fids -- cgit v1.2.3