Browse Source

Update rprand.h

Ray 1 năm trước cách đây
mục cha
commit
c21edadab0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
             {