Fix clang build
Summary: fix build Test Plan: works Reviewers: kradhakrishnan Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D37911
This commit is contained in:
parent
d4540654e9
commit
dddceefe5e
@ -2827,9 +2827,9 @@ uint64_t VersionSet::ApproximateSize(Version* v, const Slice& start,
|
||||
assert(files_brief.num_files > 0);
|
||||
|
||||
// identify the file position for starting key
|
||||
const uint64_t idx_start =
|
||||
FindFileInRange(v->cfd_->internal_comparator(), files_brief, start,
|
||||
/*start=*/0, files_brief.num_files - 1);
|
||||
const uint64_t idx_start = FindFileInRange(
|
||||
v->cfd_->internal_comparator(), files_brief, start,
|
||||
/*start=*/0, static_cast<uint32_t>(files_brief.num_files - 1));
|
||||
assert(idx_start < files_brief.num_files);
|
||||
|
||||
// scan all files from the starting position until the ending position
|
||||
|
Loading…
Reference in New Issue
Block a user