Skip to content

Commit 95a4b4b

Browse files
authored
Merge pull request rust-lang#21 from bluss/32-bit
Fix 32-bit compile
2 parents 63a4509 + 8a95543 commit 95a4b4b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ matrix:
55
- rust: stable
66
- rust: beta
77
- rust: nightly
8+
- rust: nightly
9+
env:
10+
- FEATURES='test_low_transition_point'
811
branches:
912
only:
1013
- master

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl Pos {
141141
}
142142
} else {
143143
Pos {
144-
index: (i | (lo32(hash.0 as u64) << 32)) as u64
144+
index: i as u64 | ((hash.0 as u64) << 32)
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)