From 1b9cf338499c5b00f318339289f1827ab52e47b8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 28 Jul 2011 19:14:09 +0000 Subject: [PATCH] fix --- src/util/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1