aboutsummaryrefslogtreecommitdiff
path: root/src/output/console_install_task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/console_install_task.cc')
-rw-r--r--src/output/console_install_task.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index c9872ae..3816c93 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -1075,8 +1075,8 @@ ConsoleInstallTask::display_merge_list_entry_mask_reasons(const DepListEntry & e
output_no_endl(" Masked by: ");
- for (unsigned mm = 0 ; mm < r.size() ; ++mm)
- if (r[mm])
+ for (unsigned mm = 0 ; mm < last_mr ; ++mm)
+ if (r[static_cast<MaskReason>(mm)])
{
if (need_comma)
output_no_endl(", ");