diff options
author | hexcoder- <heiko@hexco.de> | 2020-10-29 20:06:55 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-10-29 20:06:55 +0100 |
commit | d4b04f07904ca202586133facba5406cf10aa1be (patch) | |
tree | b6269ba437f9d8e9609c6399167d4d1d1e42cf59 /examples/aflpp_driver/aflpp_driver.c | |
parent | 9e3b818c35efc3c35be728c88c4d4b2b66b52f8e (diff) | |
download | afl++-d4b04f07904ca202586133facba5406cf10aa1be.tar.gz |
fix compile warning in FreeBSD
Diffstat (limited to 'examples/aflpp_driver/aflpp_driver.c')
-rw-r--r-- | examples/aflpp_driver/aflpp_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/aflpp_driver/aflpp_driver.c b/examples/aflpp_driver/aflpp_driver.c index 82e55fc4..017aa72b 100644 --- a/examples/aflpp_driver/aflpp_driver.c +++ b/examples/aflpp_driver/aflpp_driver.c @@ -197,7 +197,7 @@ static void dup_and_close_stderr() { FILE *new_output_file = fdopen(output_fd, "w"); if (!new_output_file) abort(); if (!__sanitizer_set_report_fd) return; - __sanitizer_set_report_fd((void *)output_fd); + __sanitizer_set_report_fd((void *)(long int)output_fd); discard_output(output_fileno); } |