std: change set_quirk_enabled to set_quirk

This commit is contained in:
Nigel Tao committed 2023-04-14 21:42:15 +10:00
1 parent 176cdf7527
commit 6e84987d33
37 files changed
+644 -490

No files matched your search

+2 -2
View File
@@ -97,8 +97,8 @@ fuzz(wuffs_base__io_buffer* src, uint64_t hash) {
// Ignore the checksum for 99.99%-ish of all input. When fuzzers generate
// random input, the checkum is very unlikely to match. Still, it's useful to
// verify that checksumming does not lead to e.g. buffer overflows.
wuffs_bzip2__decoder__set_quirk_enabled(
&dec, WUFFS_BASE__QUIRK_IGNORE_CHECKSUM, hash & 0xFFFE);
wuffs_bzip2__decoder__set_quirk(&dec, WUFFS_BASE__QUIRK_IGNORE_CHECKSUM,
hash & 0xFFFE);
uint8_t dst_buffer[DST_BUFFER_ARRAY_SIZE];
wuffs_base__io_buffer dst =