about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-02-15 08:54:53 +0100
committerhexcoder- <heiko@hexco.de>2021-02-15 08:54:53 +0100
commit98559ea8b0790bc724b47e40fadfe1cfab4b726f (patch)
treeb53fe1888f6b341034317e71ca64ecdfdcd60658
parentf31d8b8401f7bebb75a19e27c21143c31ad33448 (diff)
downloadafl++-98559ea8b0790bc724b47e40fadfe1cfab4b726f.tar.gz
fix compiler warning
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 3a9e3e0e..5fb715e2 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -1171,7 +1171,7 @@ void __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop) {
 
     fprintf(stderr,
             "Running __sanitizer_cov_trace_pc_guard_init: %p-%p (%lu edges)\n",
-            start, stop, stop - start);
+            start, stop, (unsigned long)(stop - start));
 
   }