Removed 2 typecasts

This commit is contained in:
AdamKorcz 2020-12-12 19:26:04 +00:00
parent 940a04f4dd
commit f746a28e71

View File

@ -36,10 +36,10 @@
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if((int)size<3) if(size<3)
return 0; return 0;
char *new_str = (char *)malloc(size+1); char *new_str = malloc(size+1);
if (new_str == NULL) if (new_str == NULL)
return 0; return 0;