diff --git a/test/ares-fuzz.c b/test/ares-fuzz.c index b5b886b6..d86d8016 100644 --- a/test/ares-fuzz.c +++ b/test/ares-fuzz.c @@ -9,7 +9,6 @@ #include #include #include -#include "ares.h" #define kMaxAflInputSize (1 << 20) static unsigned char afl_buffer[kMaxAflInputSize]; @@ -26,7 +25,7 @@ static unsigned char afl_buffer[kMaxAflInputSize]; int LLVMFuzzerTestOneInput(const unsigned char *data, unsigned long size); static void ProcessFile(int fd) { - ares_ssize_t count = read(fd, afl_buffer, kMaxAflInputSize); + int count = read(fd, afl_buffer, kMaxAflInputSize); /* * Make a copy of the data so that it's not part of a larger * buffer (where buffer overflows would go unnoticed).