Lower numbers for unchecked array

This commit is contained in:
cheatfate
2016-07-05 20:01:21 +03:00
parent 2cbdf6088a
commit ffb975f474

View File

@@ -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))