about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-10-29 20:06:55 +0100
committerhexcoder- <heiko@hexco.de>2020-10-29 20:06:55 +0100
commitd4b04f07904ca202586133facba5406cf10aa1be (patch)
treeb6269ba437f9d8e9609c6399167d4d1d1e42cf59 /examples
parent9e3b818c35efc3c35be728c88c4d4b2b66b52f8e (diff)
downloadafl++-d4b04f07904ca202586133facba5406cf10aa1be.tar.gz
fix compile warning in FreeBSD
Diffstat (limited to 'examples')
-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);
 
 }