diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-09-19 15:39:01 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-09-19 15:39:10 +0200 |
commit | 541debe6e1e58d9f5e7f1cb01eab8ef82b42a7f4 (patch) | |
tree | 825448e24c1f4dfc132a02887d9c5abcd8d07eda /lib/pure/random.nim | |
parent | 2e477979a41779d1fc22760a978cf38364151410 (diff) | |
download | Nim-541debe6e1e58d9f5e7f1cb01eab8ef82b42a7f4.tar.gz |
stdlib: minor changes to avoid compiler warnings
Diffstat (limited to 'lib/pure/random.nim')
-rw-r--r-- | lib/pure/random.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/random.nim b/lib/pure/random.nim index e565fccf8..a2c2c1f88 100644 --- a/lib/pure/random.nim +++ b/lib/pure/random.nim @@ -66,7 +66,7 @@ proc skipRandomNumbers*(s: var Rand) = s0 = ui 0 s1 = ui 0 for i in 0..high(helper): - for b in 0..< 64: + for b in 0 ..< 64: if (helper[i] and (ui(1) shl ui(b))) != 0: s0 = s0 xor s.a0 s1 = s1 xor s.a1 |