aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stdlib/pointers.c2
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;
}