aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-13 17:00:51 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-13 17:01:03 -0400
commit4b58b97c689e672d9f1e9f8c4ff606f02c577917 (patch)
treeca0508d8651ba35d9ebd5c9632c538d10d6671b9 /src/test/test_util.c
parentc2f83746f4d65599bd45381c07a95c0d88181882 (diff)
downloadtor-4b58b97c689e672d9f1e9f8c4ff606f02c577917.tar.gz
tor-4b58b97c689e672d9f1e9f8c4ff606f02c577917.zip
32-bit compilation warnings
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 3dd2b51a3a..24b43c899b 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -5910,8 +5910,8 @@ test_util_monotonic_time(void *arg)
{
uint64_t units = monotime_msec_to_approx_coarse_stamp_units(5000);
uint64_t ms = monotime_coarse_stamp_units_to_approx_msec(units);
- tt_int_op(ms, OP_GE, 4950);
- tt_int_op(ms, OP_LT, 5050);
+ tt_u64_op(ms, OP_GE, 4950);
+ tt_u64_op(ms, OP_LT, 5050);
}
done: