Jelajahi Sumber

Update rprand.h

Ray 1 tahun lalu
induk
melakukan
c21edadab0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/external/rprand.h

+ 1 - 1
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)
             {