summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/pdf_fm2js_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libfuzzer/pdf_fm2js_fuzzer.cc')
-rw-r--r--testing/libfuzzer/pdf_fm2js_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_fm2js_fuzzer.cc b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
index 438d1025ad..c93804a92e 100644
--- a/testing/libfuzzer/pdf_fm2js_fuzzer.cc
+++ b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
@@ -11,7 +11,7 @@
#include "xfa/fxfa/fm2js/cxfa_fm2jscontext.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
- FX_SAFE_STRSIZE safe_size = size;
+ FX_SAFE_SIZE_T safe_size = size;
if (!safe_size.IsValid())
return 0;