summaryrefslogtreecommitdiffstats
path: root/src/test/librgw_file_gp.cc
diff options
context:
space:
mode:
authorSigned-off-by: Eric Lee <eric.lee@hgst.com>2016-03-09 14:28:32 +0100
committerSage Weil <sage@redhat.com>2016-03-09 15:47:48 +0100
commitf42b86b2638ebcf4ddb9dd1b90b5e75466f5b586 (patch)
treec4fe16f6103bb0bfb08c384264f8e11a6076799c /src/test/librgw_file_gp.cc
parentMerge pull request #7960 from SUSE/wip-docdev-mon (diff)
downloadceph-f42b86b2638ebcf4ddb9dd1b90b5e75466f5b586.tar.xz
ceph-f42b86b2638ebcf4ddb9dd1b90b5e75466f5b586.zip
test/librgw_file_*: use size_t* for rgw_read arg
Fixes 32-bit build. Signed-off-by: Eric Lee <eric.lee@hgst.com>
Diffstat (limited to 'src/test/librgw_file_gp.cc')
-rw-r--r--src/test/librgw_file_gp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librgw_file_gp.cc b/src/test/librgw_file_gp.cc
index 06b199b218f..ec70b5da65c 100644
--- a/src/test/librgw_file_gp.cc
+++ b/src/test/librgw_file_gp.cc
@@ -248,7 +248,7 @@ TEST(LibRGW, GET_OBJECT) {
if (do_get) {
char sbuf[512];
memset(sbuf, 0, 512);
- uint64_t nread;
+ size_t nread;
int ret = rgw_read(fs, object_fh, 0 /* off */, 512 /* len */, &nread, sbuf,
RGW_READ_FLAG_NONE);
ASSERT_EQ(ret, 0);