Parcourir la source

Make exit stats compile on 64-bit machines, too.

Karsten Loesing il y a 16 ans
Parent
commit
b71bbdc69a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/or/rephist.c

+ 1 - 1
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,.. */