From 9e3b818c35efc3c35be728c88c4d4b2b66b52f8e Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Thu, 29 Oct 2020 18:47:00 +0100 Subject: fix warning on Debian 32 bit --- instrumentation/afl-gcc-pass.so.cc | 2 +- unicorn_mode/unicornafl | 2 +- 2 files changed, 2 insertions(+), 2 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 index f44ec48f..0bf26f6c 160000 --- a/unicorn_mode/unicornafl +++ b/unicorn_mode/unicornafl @@ -1 +1 @@ -Subproject commit f44ec48f8d5929f243522c1152b5b3c0985a5548 +Subproject commit 0bf26f6c2601e1c1c84998551ed7d50b4108fbdf -- cgit 1.4.1