From b8d7eabc023bf9db0150049d8e909086f6ad91bc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 5 Nov 2024 15:18:32 -0500 Subject: Deprecate bit-width integer/num literals in favor of using type constructors --- stdlib/bytes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/bytes.c') diff --git a/stdlib/bytes.c b/stdlib/bytes.c index 8d665790..f36a56ba 100644 --- a/stdlib/bytes.c +++ b/stdlib/bytes.c @@ -14,7 +14,7 @@ PUREFUNC public Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeIn { (void)type; if (!b) return Text("Byte"); - return Text$format(colorize ? "\x1b[35m%u[B]\x1b[m" : "%u[B]", *b); + return Text$format(colorize ? "\x1b[36mByte\x1b[m(\x1b[35m0x%02X\x1b[m)" : "Byte(0x%02X)", *b); } public const TypeInfo_t Byte$info = { -- cgit v1.2.3