diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-28 19:14:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-28 19:14:09 +0000 |
commit | 1b9cf338499c5b00f318339289f1827ab52e47b8 (patch) | |
tree | a456bdf33c57cb1b1e1da3fc9a451e2b93b398ec /src/util/time.c | |
parent | e6399b66a62835b4bd5971d96d958ce5c599218c (diff) | |
download | gnunet-1b9cf338499c5b00f318339289f1827ab52e47b8.tar.gz gnunet-1b9cf338499c5b00f318339289f1827ab52e47b8.zip |
fix
Diffstat (limited to 'src/util/time.c')
-rw-r--r-- | src/util/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/time.c b/src/util/time.c index 3631c0a78..3dc2ef03a 100644 --- a/src/util/time.c +++ b/src/util/time.c | |||
@@ -501,7 +501,7 @@ GNUNET_TIME_relative_to_string (struct GNUNET_TIME_Relative time) | |||
501 | static char time_string[21]; | 501 | static char time_string[21]; |
502 | memset(time_string, 0, sizeof(time_string)); | 502 | memset(time_string, 0, sizeof(time_string)); |
503 | 503 | ||
504 | sprintf(time_string, "%lu", time.rel_value); | 504 | sprintf(time_string, "%llu", (unsigned long long) time.rel_value); |
505 | return (const char *) time_string; | 505 | return (const char *) time_string; |
506 | } | 506 | } |
507 | 507 | ||