From c21edadab0e24d9340508329b454abe05227cdec Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 1 May 2024 18:39:38 +0200 Subject: [PATCH] Update rprand.h --- src/external/rprand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/rprand.h b/src/external/rprand.h index 7e27d980..8d77bf75 100644 --- a/src/external/rprand.h +++ b/src/external/rprand.h @@ -202,7 +202,7 @@ int *rprand_load_sequence(unsigned int count, int min, int max) { value = ((unsigned int)rprand_xoshiro()%(abs(max - min) + 1)) + min; - for (int j = 0; j < i; j++) + for (unsigned int j = 0; j < i; j++) { if (sequence[j] == value) {