summaryrefslogtreecommitdiff
path: root/fuzzing
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzing')
-rw-r--r--fuzzing/format_command_fuzzer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzing/format_command_fuzzer.c b/fuzzing/format_command_fuzzer.c
index 88d0b7a..e5633b4 100644
--- a/fuzzing/format_command_fuzzer.c
+++ b/fuzzing/format_command_fuzzer.c
@@ -36,10 +36,10 @@
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
- if((int)size<3)
+ if(size<3)
return 0;
- char *new_str = (char *)malloc(size+1);
+ char *new_str = malloc(size+1);
if (new_str == NULL)
return 0;