aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index 5f915c9a..2b102879 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -854,7 +854,7 @@ void cull_queue(afl_state_t *afl) {
if (!afl->top_rated[i]->was_fuzzed) {
++afl->pending_favored;
- if (unlikely(afl->smallest_favored > (s64)afl->top_rated[i]->id)) {
+ if (unlikely(afl->smallest_favored < 0)) {
afl->smallest_favored = (s64)afl->top_rated[i]->id;