From cb9005bf80740c06ac5137e279645dc265f2ffc1 Mon Sep 17 00:00:00 2001 From: cat Date: Tue, 6 Jan 2026 03:10:34 +0200 Subject: [PATCH] Tweaked Xoshiro.h to fix a warn --- libraries/random/xoshiro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/random/xoshiro.h b/libraries/random/xoshiro.h index 5bf4862..27f2c5e 100644 --- a/libraries/random/xoshiro.h +++ b/libraries/random/xoshiro.h @@ -73,7 +73,7 @@ static inline void jump_state(const int_t jump_table[4], rng_t &rng) int_t s3 = 0; for (int i = 0; i < 4; i++) { - for (int b = 0; b < 8*sizeof(int_t); b++) + for (int b = 0; b < static_cast(8*sizeof(int_t)); b++) // static_cast has been added by Tourmaline Engine! { if (jump_table[i] & ((int_t)1) << b) {