[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] make "%llu" less likely to warn on weird platforms
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c
Log Message:
make "%llu" less likely to warn on weird platforms
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -d -r1.314 -r1.315
--- main.c 8 Aug 2004 07:25:45 -0000 1.314
+++ main.c 9 Aug 2004 05:25:19 -0000 1.315
@@ -965,7 +965,7 @@
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);