fix compiler warning
authorStephan Kulow <coolo@suse.de>
Thu, 3 Apr 2008 19:08:45 +0000 (19:08 +0000)
committerStephan Kulow <coolo@suse.de>
Thu, 3 Apr 2008 19:08:45 +0000 (19:08 +0000)
zypp/sat/SATResolver.cc

index 873c91c..7f2c73a 100644 (file)
@@ -728,8 +728,8 @@ string SATResolver::SATprobleminfoString(Id problem, string &detail)
              for_( iter2, possibleProviders.begin(), possibleProviders.end() ) {
                  PoolItem provider2 = ResPool::instance().find( *iter2 );                
                  if (compareByNVR (provider1.resolvable(),provider2.resolvable()) == 0
-                     && (provider1.status().isInstalled() && provider2.status().isUninstalled() 
-                         || provider2.status().isInstalled() && provider1.status().isUninstalled()))  {
+                     && ( (provider1.status().isInstalled() && provider2.status().isUninstalled())
+                         || (provider2.status().isInstalled() && provider1.status().isUninstalled()) ))  {
                      found = true;
                      break;
                  }