]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/librados: silence -Woverloaded-virtual warning
authorKefu Chai <kchai@redhat.com>
Mon, 1 May 2017 04:44:19 +0000 (12:44 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 1 May 2017 14:19:55 +0000 (22:19 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/librados_test_stub/MockTestMemIoCtxImpl.h

index e1d703dceff1c8bb3ac2e8076369f8c21089d952..03c6c326de598fd9fab1ad49eaf1af2b8ff21e2a 100644 (file)
@@ -99,7 +99,7 @@ public:
   }
   MOCK_METHOD5(sparse_read, int(const std::string& oid,
                                uint64_t off,
-                               size_t len,
+                               uint64_t len,
                                std::map<uint64_t, uint64_t> *m,
                                bufferlist *bl));
   int do_sparse_read(const std::string& oid, uint64_t off, size_t len,