make g++ happy
authorMichael Andres <ma@suse.de>
Tue, 3 Nov 2009 01:34:47 +0000 (02:34 +0100)
committerMichael Andres <ma@suse.de>
Tue, 3 Nov 2009 01:36:13 +0000 (02:36 +0100)
tools/zypp-CheckAccessDeleted.cc

index 9517c49..716c5ba 100644 (file)
@@ -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() );
   }