mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
build: Fix fuzz-cuckoocache cross-compiling for Windows with DEBUG=1
This commit is contained in:
parent
9212e67463
commit
52a43b0c7d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue