diff options
author | yuval Lifshitz <ylifshit@redhat.com> | 2022-11-10 14:21:56 +0100 |
---|---|---|
committer | yuval Lifshitz <ylifshit@redhat.com> | 2022-11-10 14:21:56 +0100 |
commit | c67fb7316ef9ad580509814189eaf99ad16d798d (patch) | |
tree | e6dfef8ea1539207a56b769b75b351e930fcc806 /src/test/librgw_file_gp.cc | |
parent | Merge pull request #48823 from zdover23/wip-doc-2022-11-10-glossary-ceph-mana... (diff) | |
download | ceph-c67fb7316ef9ad580509814189eaf99ad16d798d.tar.xz ceph-c67fb7316ef9ad580509814189eaf99ad16d798d.zip |
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 <ylifshit@redhat.com>
Diffstat (limited to 'src/test/librgw_file_gp.cc')
-rw-r--r-- | src/test/librgw_file_gp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |