From 3edbba7032bdef40fe7661d9fc9d82dee79f0240 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Nov 2024 00:09:47 -0500 Subject: Fix up recursive pointer text representation --- stdlib/pointers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') 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; } -- cgit v1.2.3