diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-12 00:09:47 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-12 00:09:47 -0500 |
| commit | 3edbba7032bdef40fe7661d9fc9d82dee79f0240 (patch) | |
| tree | a94fd12ada95dcb95ba5d444d148876531a112da | |
| parent | a4d11f51ff409901e92a35983ace8b9b2a7ec2d3 (diff) | |
Fix up recursive pointer text representation
| -rw-r--r-- | stdlib/pointers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/pointers.c b/stdlib/pointers.c index 3e3cbfa7..6a5f1e75 100644 --- a/stdlib/pointers.c +++ b/stdlib/pointers.c @@ -48,7 +48,7 @@ public Text_t Pointer$as_text(const void *x, bool colorize, const TypeInfo_t *ty colorize ? Text("\x1b[34;1m") : Text(""), Text$from_str(ptr_info.sigil), Text(".."), - Int32$as_text(&depth, false, &Int32$info), + Text$format("%d", depth), colorize ? Text("\x1b[m") : Text("")); return text; } |
