Fix compilation for 16 bit targets (#5286)
This commit is contained in:
parent
536015ee7b
commit
7f30d04d6a
5 changed files with 6 additions and 6 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue