diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:36:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:36:23 -0400 |
| commit | c3615dc92c667899af7a11b2b25201dad5502ee6 (patch) | |
| tree | bdc5db2b7c1cda415ef58eabd6c6dd23237d0ad6 /src/stdlib/pointers.c | |
| parent | 9c1a7c473d96b80561a845bf15ecfd42cd980135 (diff) | |
Deprecate `auto`
Diffstat (limited to 'src/stdlib/pointers.c')
| -rw-r--r-- | src/stdlib/pointers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
