diff --git a/tests/thirdparty/Fuzzer/standalone/StandaloneFuzzTargetMain.c b/tests/thirdparty/Fuzzer/standalone/StandaloneFuzzTargetMain.c index 0d76ea49e..dfd9aa963 100644 --- a/tests/thirdparty/Fuzzer/standalone/StandaloneFuzzTargetMain.c +++ b/tests/thirdparty/Fuzzer/standalone/StandaloneFuzzTargetMain.c @@ -31,7 +31,7 @@ int main(int argc, char **argv) { fseek(f, 0, SEEK_END); size_t len = ftell(f); fseek(f, 0, SEEK_SET); - unsigned char *buf = (unsigned char*)malloc(len); + unsigned char *buf = malloc(len); size_t n_read = fread(buf, 1, len, f); assert(n_read == len); LLVMFuzzerTestOneInput(buf, len);