diff options
author | hexcoder- <heiko@hexco.de> | 2020-10-29 18:47:00 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-10-29 18:47:00 +0100 |
commit | 9e3b818c35efc3c35be728c88c4d4b2b66b52f8e (patch) | |
tree | 0a447f23fb9e2a23ffbd0a932e216e31449f90a1 | |
parent | 9347ad49b8adb867c9829c6c03e574ce26bc0942 (diff) | |
download | afl++-9e3b818c35efc3c35be728c88c4d4b2b66b52f8e.tar.gz |
fix warning on Debian 32 bit
-rw-r--r-- | instrumentation/afl-gcc-pass.so.cc | 2 | ||||
m--------- | unicorn_mode/unicornafl | 0 |
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 |