aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/util/bloom_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/util/bloom_test.cc')
-rw-r--r--src/leveldb/util/bloom_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leveldb/util/bloom_test.cc b/src/leveldb/util/bloom_test.cc
index 77fb1b3159..1b87a2be3f 100644
--- a/src/leveldb/util/bloom_test.cc
+++ b/src/leveldb/util/bloom_test.cc
@@ -46,7 +46,8 @@ class BloomTest {
key_slices.push_back(Slice(keys_[i]));
}
filter_.clear();
- policy_->CreateFilter(&key_slices[0], key_slices.size(), &filter_);
+ policy_->CreateFilter(&key_slices[0], static_cast<int>(key_slices.size()),
+ &filter_);
keys_.clear();
if (kVerbose >= 2) DumpFilter();
}