about summary refs log tree commit diff
path: root/examples/aflpp_driver/aflpp_driver.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-10-29 23:58:47 +0100
committerhexcoder- <heiko@hexco.de>2020-10-29 23:58:47 +0100
commitbdadba60f796e86ede9c545bf03c972c8d3343f4 (patch)
treea4653bf298a1a400b6e030c159445804c8a7a237 /examples/aflpp_driver/aflpp_driver.c
parent158efe49ac38460617884d593cf7b924d33de6a7 (diff)
parentd4b04f07904ca202586133facba5406cf10aa1be (diff)
downloadafl++-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.c2
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);
 
 }