Skip to content

Commit ca6f108

Browse files
committed
Fix non-C var declaration coming from 72acda2
1 parent 7c31864 commit ca6f108

File tree

1 file changed

+2
-1
lines changed
  • atari_py/ale_interface/src/external/TinyMT

1 file changed

+2
-1
lines changed

atari_py/ale_interface/src/external/TinyMT/tinymt32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,14 @@ static void period_certification(tinymt32_t * random) {
6060
* @param seed a 32-bit unsigned integer used as a seed.
6161
*/
6262
void tinymt32_init(tinymt32_t * random, uint32_t seed) {
63+
int i;
64+
6365
// MGB: These values were apparently drawn from the aether. This isn't good for reproducibility.
6466
// I will set them to some bunk values.
6567
random->mat1 = 4753849;
6668
random->mat2 = 3231259923;
6769
random->tmat = 614784120;
6870

69-
int i;
7071
random->status[0] = seed;
7172
random->status[1] = random->mat1;
7273
random->status[2] = random->mat2;

0 commit comments

Comments
 (0)