[tor-commits] [tor/master] Fix sign in test-timers
nickm at torproject.org
nickm at torproject.org
Wed Jul 6 14:07:09 UTC 2016
commit 3252550fc5869488058ea897bd2e8ec4a2e8b476
Author: Nick Mathewson <nickm at torproject.org>
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;
More information about the tor-commits
mailing list