From c3615dc92c667899af7a11b2b25201dad5502ee6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 15 Apr 2025 19:36:23 -0400 Subject: Deprecate `auto` --- src/stdlib/pointers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/pointers.c') diff --git a/src/stdlib/pointers.c b/src/stdlib/pointers.c index b674ac6f..daea2dbd 100644 --- a/src/stdlib/pointers.c +++ b/src/stdlib/pointers.c @@ -15,7 +15,7 @@ #include "util.h" public Text_t Pointer$as_text(const void *x, bool colorize, const TypeInfo_t *type) { - auto ptr_info = type->PointerInfo; + __typeof(type->PointerInfo) ptr_info = type->PointerInfo; if (!x) { Text_t typename = generic_as_text(NULL, false, ptr_info.pointed); if (colorize) -- cgit v1.2.3