summaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index 381b66e1e..0fb6eaf0c 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -739,7 +739,8 @@ GNUNET_STRINGS_relative_time_to_string (struct GNUNET_TIME_Relative delta,
}
}
}
- GNUNET_snprintf (buf, sizeof(buf), "%llu %s", dval, unit);
+ GNUNET_snprintf (buf, sizeof(buf), "%llu %s",
+ (unsigned long long) dval, unit);
return buf;
}