Skip to content

Commit 6d331bf

Browse files
committed
fixup
1 parent 0931052 commit 6d331bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/system/repr.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ proc reprFloat(x: float): string {.compilerproc.} = return $x
1717

1818
proc reprPointer(x: pointer): string {.compilerproc.} =
1919
# size: 0x + hexAddr + '\0'
20-
var buf {.noinit.}: array[2 + pointer.sizeof * 2 + 1], char]
20+
var buf {.noinit.}: array[2 + pointer.sizeof * 2 + 1, char]
2121
result.strAppend buf[0].addr, c_sprintf(buf.toCstring, "%p", x)
2222

2323
proc reprStrAux(result: var string, s: cstring; len: int) =

0 commit comments

Comments
 (0)