aboutsummaryrefslogtreecommitdiff
path: root/lib/Fuzzer/test/LoadTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fuzzer/test/LoadTest.cpp')
-rw-r--r--lib/Fuzzer/test/LoadTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fuzzer/test/LoadTest.cpp b/lib/Fuzzer/test/LoadTest.cpp
index c1780d5c7bd9..eef16c7be51e 100644
--- a/lib/Fuzzer/test/LoadTest.cpp
+++ b/lib/Fuzzer/test/LoadTest.cpp
@@ -14,7 +14,7 @@ int array[kArraySize];
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
if (Size < 8) return 0;
- size_t a = 0;
+ uint64_t a = 0;
memcpy(&a, Data, 8);
Sink = array[a % (kArraySize + 1)];
return 0;