Commit 671d2046 authored by Nick Mathewson's avatar Nick Mathewson

Fix a signed overflow warning in test_timeouts.c

Technically, when int is 32-bit, 1<<31 is an overflow.
parent e5a9e8bf
......@@ -433,7 +433,7 @@ main(int argc, char **argv)
.start_at = 100,
.end_at = ((uint64_t)1) << 49,
.n_timeouts = 1000,
.max_step = 1<<31,
.max_step = ((uint64_t)1) << 31,
.relative = 0,
.try_removing = 0,
.finalize = 2,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment