summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2012-06-19 13:56:39 +0200
committerMichael Vogt <egon@debian-devbox>2012-06-19 13:56:39 +0200
commit60cb4b09173ef64528dfbe92f016240c6fec3605 (patch)
tree48ce686d588f75c44287e15186c38b9cb3d6c92c /apt-pkg/pkgcache.cc
parente3026ce49a0839dfbe494af7e60d91bc7204f88e (diff)
parent567785b979d9b71ceb92edda82e4f15bb40a2e61 (diff)
merged from donkult
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index f694a237e..9acb7da72 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -970,7 +970,7 @@ bool pkgCache::PrvIterator::IsMultiArchImplicit() const
{
pkgCache::PkgIterator const Owner = OwnerPkg();
pkgCache::PkgIterator const Parent = ParentPkg();
- if (Owner->Arch != Parent->Arch || Owner->Name == Parent->Name)
+ if (strcmp(Owner.Arch(), Parent.Arch()) != 0 || Owner->Name == Parent->Name)
return true;
return false;
}