From: Christian Grothoff Date: Thu, 28 Jul 2011 19:14:09 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~17583 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b9cf338499c5b00f318339289f1827ab52e47b8;p=oweals%2Fgnunet.git fix --- 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) static char time_string[21]; memset(time_string, 0, sizeof(time_string)); - sprintf(time_string, "%lu", time.rel_value); + sprintf(time_string, "%llu", (unsigned long long) time.rel_value); return (const char *) time_string; }