diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-05 15:18:32 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-05 15:18:32 -0500 |
| commit | b8d7eabc023bf9db0150049d8e909086f6ad91bc (patch) | |
| tree | 5b678c7949638b3f07095affc04611f0422ef8c7 /stdlib/bytes.c | |
| parent | 2fa26e6af3ec1599396d9260ef44b0d035b1f686 (diff) | |
Deprecate bit-width integer/num literals in favor of using type
constructors
Diffstat (limited to 'stdlib/bytes.c')
| -rw-r--r-- | stdlib/bytes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |
