diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-19 14:12:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-19 14:12:29 -0400 |
commit | ac73913d408dca1c2f12b153162cdc609d732684 (patch) | |
tree | d7c5b5d6a5f30e665630221f0aee6b4e4f3c1a5e /src/ext | |
parent | 7581ac709444297f954782af38d19126264762ab (diff) | |
parent | 10ea3343b52104d9a1f81f2b0ff25e7c0d733fef (diff) | |
download | tor-ac73913d408dca1c2f12b153162cdc609d732684.tar.gz tor-ac73913d408dca1c2f12b153162cdc609d732684.zip |
Merge branch 'bug23583_029'
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/timeouts/timeout-bitops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ext/timeouts/timeout-bitops.c b/src/ext/timeouts/timeout-bitops.c index a018f33b95..e99af8f9c4 100644 --- a/src/ext/timeouts/timeout-bitops.c +++ b/src/ext/timeouts/timeout-bitops.c @@ -231,7 +231,8 @@ main(int c, char **v) int result = 0; for (i = 0; i <= 63; ++i) { - uint64_t x = 1 << i; + uint64_t x = 1; + x <<= i; if (!check(x)) result = 1; --x; |