mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
std: change set_quirk_enabled to set_quirk
This commit is contained in:
1 parent
176cdf7527
commit
6e84987d33
37 files changed
+644
-490
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user