[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix sign in test-timers
commit 3252550fc5869488058ea897bd2e8ec4a2e8b476
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Jul 6 10:07:02 2016 -0400
Fix sign in test-timers
---
src/test/test-timers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/test-timers.c b/src/test/test-timers.c
index 0196ec1..2f8b205 100644
--- a/src/test/test-timers.c
+++ b/src/test/test-timers.c
@@ -97,8 +97,8 @@ main(int argc, char **argv)
total_square_difference += diff*diff;
}
const int64_t mean_diff = total_difference / n_active_timers;
- printf("mean difference: "U64_FORMAT" usec\n",
- U64_PRINTF_ARG(mean_diff));
+ printf("mean difference: "I64_FORMAT" usec\n",
+ I64_PRINTF_ARG(mean_diff));
const double mean_sq = ((double)total_square_difference)/ n_active_timers;
const double sq_mean = mean_diff * mean_diff;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits