aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/time.c2
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