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 873c91c747d523e4cb2f6cf63576bc9649851d2e..7f2c73ae22aa62aac960fc311cb3e245d15e5efc 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;
                  }