summaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdf_codec_a85_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuzzers/pdf_codec_a85_fuzzer.cc')
-rw-r--r--testing/fuzzers/pdf_codec_a85_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/fuzzers/pdf_codec_a85_fuzzer.cc b/testing/fuzzers/pdf_codec_a85_fuzzer.cc
index 20bd792886..0da713b831 100644
--- a/testing/fuzzers/pdf_codec_a85_fuzzer.cc
+++ b/testing/fuzzers/pdf_codec_a85_fuzzer.cc
@@ -12,7 +12,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
uint8_t* dest_buf = nullptr;
uint32_t dest_size = 0;
CCodec_BasicModule encoder_module;
- encoder_module.A85Encode(data, size, &dest_buf, &dest_size);
+ encoder_module.A85Encode({data, size}, &dest_buf, &dest_size);
FX_Free(dest_buf);
return 0;
}