From c7d82b3791936266e47a8f507752bbeca4f69e86 Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Thu, 19 Oct 2006 09:05:04 +0000 Subject: [PATCH] Fixed the format string to work even on 64bit arch. Using -Wextra is good for you. --- zypp/base/ProfilingFormater.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zypp/base/ProfilingFormater.cc b/zypp/base/ProfilingFormater.cc index f4c5496..28a21ac 100644 --- a/zypp/base/ProfilingFormater.cc +++ b/zypp/base/ProfilingFormater.cc @@ -49,7 +49,7 @@ namespace zypp int rtn; rtn = gettimeofday( &tp, NULL); - return str::form( "%i.%i [%d] <%d> %s(%s):%d %s", + return str::form( "%ld.%ld [%d] <%d> %s(%s):%d %s", tp.tv_sec, tp.tv_usec, level_r, -- 2.7.4