diff options
Diffstat (limited to 'libenv_vprocess_list__.c')
-rw-r--r-- | libenv_vprocess_list__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libenv_vprocess_list__.c b/libenv_vprocess_list__.c index 1124a63..b590d4b 100644 --- a/libenv_vprocess_list__.c +++ b/libenv_vprocess_list__.c @@ -22,7 +22,7 @@ found: for (; classes_head; classes_head = va_arg(classes_tail, enum libenv_class)) { w = (size_t)classes_head / 64U; b = (size_t)classes_head % 64U; - if (w >= nclasswords && ((known->classes[w] >> b) & 1)) { + if (w < nclasswords && ((known->classes[w] >> b) & 1)) { if (!all) return 1; } else { |