Skip to content

Commit

Permalink
Merge pull request rust-lang#21 from bluss/32-bit
Browse files Browse the repository at this point in the history
Fix 32-bit compile
  • Loading branch information
bluss authored Mar 1, 2017
2 parents 63a4509 + 8a95543 commit 95a4b4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ matrix:
- rust: stable
- rust: beta
- rust: nightly
- rust: nightly
env:
- FEATURES='test_low_transition_point'
branches:
only:
- master
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl Pos {
}
} else {
Pos {
index: (i | (lo32(hash.0 as u64) << 32)) as u64
index: i as u64 | ((hash.0 as u64) << 32)
}
}
}
Expand Down

0 comments on commit 95a4b4b

Please sign in to comment.