]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make exit stats compile on 64-bit machines, too.
authorKarsten Loesing <karsten.loesing@gmx.net>
Thu, 16 Jul 2009 20:29:55 +0000 (22:29 +0200)
committerNick Mathewson <nickm@torproject.org>
Sat, 18 Jul 2009 14:35:20 +0000 (10:35 -0400)
src/or/rephist.c

index 6a716d376bde8ea6e7f992c847c6ce3fd236e215..c0b9ae14a4caee34b664ced5f3c9de6300eb07a3 100644 (file)
@@ -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,.. */