make g++ happy
authorMichael Andres <ma@suse.de>
Mon, 2 Nov 2009 21:01:41 +0000 (22:01 +0100)
committerMichael Andres <ma@suse.de>
Mon, 2 Nov 2009 21:01:41 +0000 (22:01 +0100)
zypp/sat/detail/PoolImpl.cc

index 9102074..951756f 100644 (file)
@@ -357,7 +357,7 @@ namespace zypp
 
           // satsolver priority is based on '<', while yum's repoinfo
           // uses 1(highest)->99(lowest). Thus we use -info_r.priority.
-          if ( repo->priority != -info_r.priority() )
+          if ( repo->priority != int(-info_r.priority()) )
           {
             repo->priority = -info_r.priority();
             dirty = true;