aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-03 11:00:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-03 11:00:18 -0400
commit02a4442524d84ea7edf6e3f136017faa73452d92 (patch)
treeb7870d99b8b95f63b11cb29e0ac1a435bd673c95 /src/test/test_util.c
parentd5a3bb960d41873ccfde0bbdb4adfb762528069e (diff)
downloadtor-02a4442524d84ea7edf6e3f136017faa73452d92.tar.gz
tor-02a4442524d84ea7edf6e3f136017faa73452d92.zip
Fix up some windows compilation issues.
These were mostly cases where our previous macros had been casting, and the values that we were trying to printf were not in fact uint64_t.
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index e6348bfea8..c2c33afea4 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -5557,7 +5557,7 @@ test_util_max_mem(void *arg)
tt_int_op(r, OP_EQ, r2);
tt_uint_op(memory2, OP_EQ, memory1);
- TT_BLATHER(("System memory: %"PRIu64, (memory1)));
+ TT_BLATHER(("System memory: %"TOR_PRIuSZ, (memory1)));
if (r==0) {
/* You have at least a megabyte. */