aboutsummaryrefslogtreecommitdiff
path: root/util/bloom_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/bloom_test.cc')
-rw-r--r--util/bloom_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/bloom_test.cc b/util/bloom_test.cc
index 0bf8e8d..77fb1b3 100644
--- a/util/bloom_test.cc
+++ b/util/bloom_test.cc
@@ -126,7 +126,8 @@ TEST(BloomTest, VaryingLengths) {
}
Build();
- ASSERT_LE(FilterSize(), (length * 10 / 8) + 40) << length;
+ ASSERT_LE(FilterSize(), static_cast<size_t>((length * 10 / 8) + 40))
+ << length;
// All added keys must match
for (int i = 0; i < length; i++) {