Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp> master : make g++ happy
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 2 Nov 2009 22:01:41 +0100
  • Message-id: <E1N543f-00067t-UN@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 9e97adb0784e9b1f3d6aa38e8059fc333f2fc119
Author: Michael Andres <ma@xxxxxxx>
Date: Mon Nov 2 22:01:41 2009 +0100

make g++ happy
---
zypp/sat/detail/PoolImpl.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >