]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
A few other errors spotted by Phil Kern
[apt.git] / apt-pkg / pkgcache.cc
index f694a237e2435c446fef9cd0c413f6868c3b1829..9acb7da72d5ff436fa98a5aeb43913305cfef12f 100644 (file)
@@ -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;
 }