aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-10-01 21:02:12 +0000
committerRoger Dingledine <arma@torproject.org>2004-10-01 21:02:12 +0000
commit3f4b544b77f32e906d898f9c5616c7e060c0e177 (patch)
tree2dcd5550c664130e5a5f17b7411718d60c6d7588 /src/or/main.c
parent8ba86dbee9c61b543ced2faeab1e6a7dbdf904ed (diff)
downloadtor-3f4b544b77f32e906d898f9c5616c7e060c0e177.tar.gz
tor-3f4b544b77f32e906d898f9c5616c7e060c0e177.zip
use size_t rather than int for directory lengths in memory
this might fix a bug with amd64 svn:r2410
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 bef042cd2e..17df97c709 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -979,7 +979,7 @@ static void dumpstats(int severity) {
#else
"Average bandwidth used: %llu/%ld = %d bytes/sec",
#endif
- stats_n_bytes_read, stats_n_seconds_uptime,
+ (long long unsigned int)stats_n_bytes_read, stats_n_seconds_uptime,
(int) (stats_n_bytes_read/stats_n_seconds_uptime));
rep_hist_dump_stats(now,severity);