[or-cvs] [tor/master] Make exit stats compile on 64-bit machines, too.

Nick Mathewson nickm at seul.org
Sat Jul 18 14:35:35 UTC 2009


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Thu, 16 Jul 2009 22:29:55 +0200
Subject: Make exit stats compile on 64-bit machines, too.
Commit: b71bbdc69a56b4f1cd88816fa08c4ef8c6445a1b

---
 src/or/rephist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/rephist.c b/src/or/rephist.c
index 6a716d3..c0b9ae1 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1418,7 +1418,7 @@ write_exit_stats(time_t when)
                                          EXIT_STATS_ROUND_UP_BYTES);
       other_bytes /= 1024;
       if (fprintf(out, "%sother="U64_FORMAT"\n",
-                  comma ? "," : "", other_bytes)<0)
+                  comma ? "," : "", U64_PRINTF_ARG(other_bytes))<0)
         goto done;
     }
     /* streams-opened port=num,.. */
-- 
1.5.6.5



More information about the tor-commits mailing list