From fd93d98a959ac3700e2da07310a44867c9c46f03 Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 28 Jan 2023 12:13:11 -0600 Subject: [PATCH] Fix i386 transform fuzzer build Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55447 --- fuzz/transform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/transform.cc b/fuzz/transform.cc index f45521254..fe4a6a216 100644 --- a/fuzz/transform.cc +++ b/fuzz/transform.cc @@ -39,7 +39,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { tjhandle handle = NULL; unsigned char *dstBufs[NUMXFORMS] = { NULL, NULL, NULL }; - unsigned long dstSizes[NUMXFORMS] = { 0, 0, 0 }, maxBufSize; + size_t dstSizes[NUMXFORMS] = { 0, 0, 0 }, maxBufSize; int width = 0, height = 0, jpegSubsamp, i, t; tjtransform transforms[NUMXFORMS]; #if defined(__has_feature) && __has_feature(memory_sanitizer)