From 9e97adb0784e9b1f3d6aa38e8059fc333f2fc119 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Mon, 2 Nov 2009 22:01:41 +0100 Subject: [PATCH] make g++ happy --- zypp/sat/detail/PoolImpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zypp/sat/detail/PoolImpl.cc b/zypp/sat/detail/PoolImpl.cc index 9102074..951756f 100644 --- a/zypp/sat/detail/PoolImpl.cc +++ b/zypp/sat/detail/PoolImpl.cc @@ -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; -- 2.7.4