diff options
author | cheatfate <ka@hardcore.kiev.ua> | 2016-07-05 20:01:21 +0300 |
---|---|---|
committer | cheatfate <ka@hardcore.kiev.ua> | 2016-07-05 20:01:21 +0300 |
commit | ffb975f474aabc4573a05d8fd9a9f45ebf9168a0 (patch) | |
tree | acf5c78d2b5f2305478fa8f161d8e0f4179c34f7 | |
parent | 2cbdf6088a03519e8c63500de12058bbb7996f56 (diff) | |
download | Nim-ffb975f474aabc4573a05d8fd9a9f45ebf9168a0.tar.gz |
Lower numbers for unchecked array
-rw-r--r-- | lib/pure/ioselectors.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/ioselectors.nim b/lib/pure/ioselectors.nim index 0583c275a..a5d5d2c01 100644 --- a/lib/pure/ioselectors.nim +++ b/lib/pure/ioselectors.nim @@ -185,7 +185,7 @@ else: import locks type - SharedArray {.unchecked.}[T] = array[0..100_000_000, T] + SharedArray {.unchecked.}[T] = array[0..100, T] proc allocSharedArray[T](nsize: int): ptr SharedArray[T] = result = cast[ptr SharedArray[T]](allocShared0(sizeof(T) * nsize)) |