projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6399b6
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Thu, 28 Jul 2011 19:14:09 +0000
(19:14 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 28 Jul 2011 19:14:09 +0000
(19:14 +0000)
src/util/time.c
patch
|
blob
|
history
diff --git
a/src/util/time.c
b/src/util/time.c
index 3631c0a7868cc6110a796193e55b36b391ca3874..3dc2ef03a9e4d1cdfb77c1dda5199574ec0fe880 100644
(file)
--- a/
src/util/time.c
+++ b/
src/util/time.c
@@
-501,7
+501,7
@@
GNUNET_TIME_relative_to_string (struct GNUNET_TIME_Relative time)
static char time_string[21];
memset(time_string, 0, sizeof(time_string));
- sprintf(time_string, "%l
u",
time.rel_value);
+ sprintf(time_string, "%l
lu", (unsigned long long)
time.rel_value);
return (const char *) time_string;
}