diff --git a/src/or/main.c b/src/or/main.c index 573b20fc92..d4e6c6a47e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -963,7 +963,7 @@ static void dumpstats(int severity) { (stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) ); if (stats_n_seconds_uptime) - log(severity,"Average bandwidth used: %d/%d = %d bytes/sec", + log(severity,"Average bandwidth used: %llu/%ld = %d bytes/sec", stats_n_bytes_read, stats_n_seconds_uptime, (int) (stats_n_bytes_read/stats_n_seconds_uptime));