rocksdb: fix WritableFile::mSize type

All of the uses of this member variable treat it as uint64_t.

Change-Id: Iba9cf2eae1f2bd79617e2785ad498526f1115c10
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/405331
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Daniel Verkamp 2018-03-26 11:09:38 -07:00
parent e2af3284cb
commit d9ba3805c7

View File

@ -187,7 +187,7 @@ SpdkRandomAccessFile::InvalidateCache(size_t offset, size_t length)
class SpdkWritableFile : public WritableFile class SpdkWritableFile : public WritableFile
{ {
struct spdk_file *mFile; struct spdk_file *mFile;
uint32_t mSize; uint64_t mSize;
public: public:
SpdkWritableFile(struct spdk_file *file) : mFile(file), mSize(0) {} SpdkWritableFile(struct spdk_file *file) : mFile(file), mSize(0) {}