fix warning

This commit is contained in:
van Hauser
2020-08-13 12:58:10 +02:00
parent 2c5e103278
commit c4e52e20c9

View File

@ -151,7 +151,8 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len, u64 exec_cksum) {
/* Discard if the mutations change the paths or if it is too decremental /* Discard if the mutations change the paths or if it is too decremental
in speed */ in speed */
if (cksum != exec_cksum || if (cksum != exec_cksum ||
(stop_us - start_us > 2 * afl->queue_cur->exec_us) && likely(!afl->fixed_seed)) { ((stop_us - start_us > 2 * afl->queue_cur->exec_us) &&
likely(!afl->fixed_seed))) {
ranges = add_range(ranges, rng->start, rng->start + s / 2); ranges = add_range(ranges, rng->start, rng->start + s / 2);
ranges = add_range(ranges, rng->start + s / 2 + 1, rng->end); ranges = add_range(ranges, rng->start + s / 2 + 1, rng->end);