aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-03 12:22:34 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-03 12:23:41 +0200
commit52a43b0c7dac33bff65dfcefa98cd30169a6b38f (patch)
tree31db8f2500272edc0c8130508c734f431c057fd2
parent9212e67463512c45626327280b1c8f92fd9a4e8a (diff)
build: Fix fuzz-cuckoocache cross-compiling for Windows with DEBUG=1
-rw-r--r--src/test/fuzz/cuckoocache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/cuckoocache.cpp b/src/test/fuzz/cuckoocache.cpp
index dc20dc3f62..a522c837ef 100644
--- a/src/test/fuzz/cuckoocache.cpp
+++ b/src/test/fuzz/cuckoocache.cpp
@@ -30,7 +30,7 @@ FUZZ_TARGET(cuckoocache)
{
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
fuzzed_data_provider_ptr = &fuzzed_data_provider;
- CuckooCache::cache<bool, RandomHasher> cuckoo_cache{};
+ CuckooCache::cache<int, RandomHasher> cuckoo_cache{};
if (fuzzed_data_provider.ConsumeBool()) {
const size_t megabytes = fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 16);
cuckoo_cache.setup_bytes(megabytes << 20);