aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 5dde1a7b9..726d925b3 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -965,7 +965,7 @@ static void dumpstats(int severity) {
if (stats_n_seconds_uptime)
log(severity,"Average bandwidth used: %llu/%ld = %d bytes/sec",
- stats_n_bytes_read, stats_n_seconds_uptime,
+ (unsigned long long) stats_n_bytes_read, stats_n_seconds_uptime,
(int) (stats_n_bytes_read/stats_n_seconds_uptime));
rep_hist_dump_stats(now,severity);