Skip to content

Commit e47f768

Browse files
committed
Fix for 32-bit architectures.
1 parent 4680af7 commit e47f768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_random.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#[test]
22
#[ignore]
33
fn test_f64_random_from_u64() {
4-
const N_ITER: usize = 1 << 32;
4+
const N_ITER: u64 = 1 << 32;
55

66
let rng = fastrand::Rng::with_seed(0);
77
let mut buf = ryu::Buffer::new();

0 commit comments

Comments
 (0)