diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-09 07:26:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-09 07:26:14 -0400 |
commit | 674c1d259488d79882c705f891db01059fa2b855 (patch) | |
tree | 1e8fd031f79213300c54229753c2154b0fec7ce2 /src/test | |
parent | 7751df61ca25a964f20d90e0cb4578e86e1714c9 (diff) | |
download | tor-674c1d259488d79882c705f891db01059fa2b855.tar.gz tor-674c1d259488d79882c705f891db01059fa2b855.zip |
Fix an implicit conversion warning
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_channelpadding.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index 5d118423e2..cffc8d0843 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -669,8 +669,9 @@ test_channelpadding_negotiation(void *arg) val = channelpadding_get_netflow_inactive_timeout_ms(client_relay3); tt_int_op(val, OP_GE, 9000); tt_int_op(val, OP_LE, 14000); - val = channelpadding_compute_time_until_pad_for_netflow(client_relay3); - tt_int_op(val, OP_LE, 14000); + int64_t val64 = + channelpadding_compute_time_until_pad_for_netflow(client_relay3); + tt_i64_op(val64, OP_LE, 14000); done: free_mock_network(); |