summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/pdf_css_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_css_fuzzer.cc b/testing/libfuzzer/pdf_css_fuzzer.cc
index b21d9d2554..7cd924e70f 100644
--- a/testing/libfuzzer/pdf_css_fuzzer.cc
+++ b/testing/libfuzzer/pdf_css_fuzzer.cc
@@ -12,7 +12,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
WideString input =
- WideString::FromUTF8(ByteStringView(data, static_cast<FX_STRSIZE>(size)));
+ WideString::FromUTF8(ByteStringView(data, static_cast<size_t>(size)));
// If we convert the input into an empty string bail out.
if (input.GetLength() == 0)