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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue