aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-09 21:54:14 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-09 21:54:14 +0100
commitfc54a27b42380a585edfd28ba4800387ac6a8699 (patch)
tree829b7f9cf0007a55b44b38f13b7f7d7383588458
parentd77e16ed3dd9f91728a44f8add2d32e8194a2707 (diff)
downloadpaludis-fc54a27b42380a585edfd28ba4800387ac6a8699.tar.gz
paludis-fc54a27b42380a585edfd28ba4800387ac6a8699.tar.xz
Fix gcc 4.5 compile
-rw-r--r--paludis/resolver/interest_in_spec_helper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/resolver/interest_in_spec_helper.cc b/paludis/resolver/interest_in_spec_helper.cc
index c210eb0..1ad70a5 100644
--- a/paludis/resolver/interest_in_spec_helper.cc
+++ b/paludis/resolver/interest_in_spec_helper.cc
@@ -160,7 +160,7 @@ namespace
bool visit(const ExistingNoChangeDecision & decision) const
{
- if (ignore_dep_from(env, no_blockers_from_specs, no_dependencies_from_specs, decision.existing_id(), dep.spec().if_block()))
+ if (ignore_dep_from(env, no_blockers_from_specs, no_dependencies_from_specs, decision.existing_id(), bool(dep.spec().if_block())))
return false;
if (! is_enabled_dep(dep))
@@ -215,7 +215,7 @@ namespace
bool visit(const ChangesToMakeDecision & decision) const
{
- if (ignore_dep_from(env, no_blockers_from_specs, no_dependencies_from_specs, decision.origin_id(), dep.spec().if_block()))
+ if (ignore_dep_from(env, no_blockers_from_specs, no_dependencies_from_specs, decision.origin_id(), bool(dep.spec().if_block())))
return false;
if (is_enabled_dep(dep))