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

@ -89,7 +89,7 @@ proc reprEnum(e: int, typ: PNimType): string {.compilerRtl.} =
result = $e & " (invalid data!)"
type
PByteArray = ptr array[0.. 0xffff, int8]
PByteArray = ptr array[0xffff, int8]
proc addSetElem(result: var string, elem: int, typ: PNimType) {.benign.} =
case typ.kind