From f32adacaa8758267993e2d2f4f02f2cdb5c24e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Evrim=20O=CC=88ztamur?= Date: Sat, 28 Mar 2026 11:48:09 +0100 Subject: [PATCH] Replace SmallRng seed type --- src/stdlib/math.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/math.rs b/src/stdlib/math.rs index 99ae3e65..d61a63da 100644 --- a/src/stdlib/math.rs +++ b/src/stdlib/math.rs @@ -337,7 +337,7 @@ pub fn load_random<'gc>(ctx: Context<'gc>, math: Table<'gc>) { (Some(high), Some(low)) => { let high_bytes = high.to_ne_bytes(); let low_bytes = low.to_ne_bytes(); - let seed: [u8; 32] = core::array::from_fn(|idx| { + let seed: ::Seed = core::array::from_fn(|idx| { let idx_mod_16 = idx % 16; if idx_mod_16 >= 8 { high_bytes[idx_mod_16 - 8]