about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-10-29 18:47:00 +0100
committerhexcoder- <heiko@hexco.de>2020-10-29 18:47:00 +0100
commit9e3b818c35efc3c35be728c88c4d4b2b66b52f8e (patch)
tree0a447f23fb9e2a23ffbd0a932e216e31449f90a1
parent9347ad49b8adb867c9829c6c03e574ce26bc0942 (diff)
downloadafl++-9e3b818c35efc3c35be728c88c4d4b2b66b52f8e.tar.gz
fix warning on Debian 32 bit
-rw-r--r--instrumentation/afl-gcc-pass.so.cc2
m---------unicorn_mode/unicornafl0
2 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc
index 04d606cc..f94bb57f 100644
--- a/instrumentation/afl-gcc-pass.so.cc
+++ b/instrumentation/afl-gcc-pass.so.cc
@@ -408,7 +408,7 @@ struct afl_pass : gimple_opt_pass {
      predecessors.  */
   inline bool instrument_block_p(basic_block bb) {
 
-    if (R(100) >= inst_ratio) return false;
+    if (R(100) >= (long int)inst_ratio) return false;
 
     edge          e;
     edge_iterator ei;
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
-Subproject f44ec48f8d5929f243522c1152b5b3c0985a554
+Subproject 0bf26f6c2601e1c1c84998551ed7d50b4108fbd