Fix compilation for 16 bit targets (#5286)

This commit is contained in:
Jeff Ciesielski 2017-01-26 01:05:03 -05:00 • committed by Andreas Rumpf
commit 7f30d04d6a
5 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@
type
PtrTable = ptr object
counter, max: int
data: array[0..0xff_ffff, (pointer, pointer)]
data: array[0xff_ffff, (pointer, pointer)]
template hashPtr(key: pointer): int = cast[int](key) shr 8
template allocPtrTable: untyped =