diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:26:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:26:06 -0400 |
commit | c75215c23ad9e3a3142ce65a06a6231425f0e30e (patch) | |
tree | 08673dff22c83935b17bdd00567c94bc09aa9e0f /src/test/test_util.c | |
parent | e2a94dc48147c9bad1f09f8b14df3bec0e3f5e94 (diff) | |
download | tor-c75215c23ad9e3a3142ce65a06a6231425f0e30e.tar.gz tor-c75215c23ad9e3a3142ce65a06a6231425f0e30e.zip |
Clean up various things that broke with our stdint.h changes
Casting before printf was necessary; now it's not so smart.
We don't have SIZEOF_UINT8_T any more.
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 7f37a2ab9c..53d329210d 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -5564,7 +5564,7 @@ test_util_max_mem(void *arg) tt_uint_op(memory1, OP_GT, (1<<20)); } else { /* You do not have a petabyte. */ -#if SIZEOF_SIZE_T == SIZEOF_UINT64_T +#if SIZEOF_SIZE_T >= 8 tt_u64_op(memory1, OP_LT, (U64_LITERAL(1)<<50)); #endif } |