aboutsummaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-19 14:12:29 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-19 14:12:29 -0400
commitac73913d408dca1c2f12b153162cdc609d732684 (patch)
treed7c5b5d6a5f30e665630221f0aee6b4e4f3c1a5e /src/ext
parent7581ac709444297f954782af38d19126264762ab (diff)
parent10ea3343b52104d9a1f81f2b0ff25e7c0d733fef (diff)
downloadtor-ac73913d408dca1c2f12b153162cdc609d732684.tar.gz
tor-ac73913d408dca1c2f12b153162cdc609d732684.zip
Merge branch 'bug23583_029'
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/timeouts/timeout-bitops.c3
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;