Browse Source

Merge branch 'bug23583_029'

Nick Mathewson 6 years ago
parent
commit
ac73913d40
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/ext/timeouts/timeout-bitops.c

+ 2 - 1
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;