aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/output_conf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index ccd5f51b8..888cb0370 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -173,7 +173,7 @@ namespace
if (rule.action_requirement() != "*" && rule.action_requirement() != "sync")
return false;
- if (-1 != rule.output_exclusivity_requirement() &&
+ if (static_cast<OutputExclusivity>(-1) != rule.output_exclusivity_requirement() &&
rule.output_exclusivity_requirement() != i.output_exclusivity())
return false;
@@ -197,7 +197,7 @@ namespace
if (rule.action_requirement() != "*" && rule.action_requirement() != i.action_name())
return false;
- if (-1 != rule.output_exclusivity_requirement() &&
+ if (static_cast<OutputExclusivity>(-1) != rule.output_exclusivity_requirement() &&
rule.output_exclusivity_requirement() != i.output_exclusivity())
return false;