diff --git a/util/dynamic_bloom_test.cc b/util/dynamic_bloom_test.cc index d9ececa5a..e8bbc38e1 100644 --- a/util/dynamic_bloom_test.cc +++ b/util/dynamic_bloom_test.cc @@ -69,7 +69,7 @@ static uint32_t NextNum(uint32_t num) { } TEST(DynamicBloomTest, VaryingLengths) { - char buffer[sizeof(int)]; + char buffer[sizeof(uint64_t)]; // Count number of filters that significantly exceed the false positive rate int mediocre_filters = 0;