about summary refs log tree commit diff
path: root/instrumentation/afl-gcc-pass.so.cc
diff options
context:
space:
mode:
Diffstat (limited to 'instrumentation/afl-gcc-pass.so.cc')
-rw-r--r--instrumentation/afl-gcc-pass.so.cc2
1 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;