aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-08 10:15:09 +0100
committervan Hauser <vh@thc.org>2020-12-08 10:15:09 +0100
commite707a8d7388cde38354162e783a2a71fe57fddf0 (patch)
tree5795776e6465d90b9c14c2ced2b0e297049f431b /utils
parenteda068751e1876797e1ec481ece356ecfb63f0cc (diff)
downloadAFLplusplus-e707a8d7388cde38354162e783a2a71fe57fddf0.tar.gz
fix warning
Diffstat (limited to 'utils')
-rw-r--r--utils/aflpp_driver/aflpp_qemu_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/aflpp_driver/aflpp_qemu_driver.c b/utils/aflpp_driver/aflpp_qemu_driver.c
index 4f3e5f71..cb3b86d0 100644
--- a/utils/aflpp_driver/aflpp_qemu_driver.c
+++ b/utils/aflpp_driver/aflpp_qemu_driver.c
@@ -6,7 +6,7 @@
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
__attribute__((weak)) int LLVMFuzzerInitialize(int *argc, char ***argv);
-static const size_t kMaxAflInputSize = 1 * 1024 * 1024;
+#define kMaxAflInputSize (1 * 1024 * 1024);
static uint8_t AflInputBuf[kMaxAflInputSize];
void __attribute__((noinline)) afl_qemu_driver_stdin_input(void) {