瀏覽代碼

Update rprand.h

Ray 1 年之前
父節點
當前提交
c21edadab0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
             {