diff options
author | hexcoder- <heiko@hexco.de> | 2020-10-29 23:58:47 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-10-29 23:58:47 +0100 |
commit | bdadba60f796e86ede9c545bf03c972c8d3343f4 (patch) | |
tree | a4653bf298a1a400b6e030c159445804c8a7a237 /examples/aflpp_driver/aflpp_driver.c | |
parent | 158efe49ac38460617884d593cf7b924d33de6a7 (diff) | |
parent | d4b04f07904ca202586133facba5406cf10aa1be (diff) | |
download | afl++-bdadba60f796e86ede9c545bf03c972c8d3343f4.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
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); } |