projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11a370
)
Fixed the format string to work even on 64bit arch.
author
Martin Vidner
<mvidner@suse.cz>
Thu, 19 Oct 2006 09:05:04 +0000
(09:05 +0000)
committer
Martin Vidner
<mvidner@suse.cz>
Thu, 19 Oct 2006 09:05:04 +0000
(09:05 +0000)
Using -Wextra is good for you.
zypp/base/ProfilingFormater.cc
patch
|
blob
|
history
diff --git
a/zypp/base/ProfilingFormater.cc
b/zypp/base/ProfilingFormater.cc
index
f4c5496
..
28a21ac
100644
(file)
--- 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,