Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp> ma-misc : make g++ happy
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 3 Nov 2009 02:36:13 +0100
  • Message-id: <E1N58NV-0001wP-Ct@xxxxxxxxxxxxxxxx>
ref: refs/heads/ma-misc
commit 7e2603ffec06b8253b24b754c9041c3832170d05
Author: Michael Andres <ma@xxxxxxx>
Date: Tue Nov 3 02:34:47 2009 +0100

make g++ happy
---
tools/zypp-CheckAccessDeleted.cc | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/zypp-CheckAccessDeleted.cc b/tools/zypp-CheckAccessDeleted.cc
index 9517c49..716c5ba 100644
--- a/tools/zypp-CheckAccessDeleted.cc
+++ b/tools/zypp-CheckAccessDeleted.cc
@@ -76,12 +76,12 @@ struct ProcInfoTable
const std::string & files_r ) const
{
printf( "%*s %*s %*s %-*s %-*s %-*s %-s\n",
- pid.size, pid_r.c_str(),
- ppid.size, ppid_r.c_str(),
- puid.size, puid_r.c_str(),
- login.size, login_r.c_str(),
- command.size, command_r.c_str(),
- service.size, (service_r.empty() ? " -" : service_r.c_str()),
+ (int)pid.size, pid_r.c_str(),
+ (int)ppid.size, ppid_r.c_str(),
+ (int)puid.size, puid_r.c_str(),
+ (int)login.size, login_r.c_str(),
+ (int)command.size, command_r.c_str(),
+ (int)service.size, (service_r.empty() ? " -" : service_r.c_str()),
files_r.c_str() );
}

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >