From 4b5e4cd1f21582f5e5fa682ab4e4bff252963468 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 29 Nov 2024 12:55:14 -0500 Subject: Change how types handle metamethods --- stdlib/bytes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/bytes.h') diff --git a/stdlib/bytes.h b/stdlib/bytes.h index 8c14ef1e..757f986f 100644 --- a/stdlib/bytes.h +++ b/stdlib/bytes.h @@ -11,7 +11,7 @@ #define Byte_t uint8_t #define Byte(b) ((Byte_t)(b)) -PUREFUNC Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeInfo_t *type); +PUREFUNC Text_t Byte$as_text(const void *b, bool colorize, const TypeInfo_t *type); #define Byte_to_Int64(b, _) ((Int64_t)(b)) #define Byte_to_Int32(b, _) ((Int32_t)(b)) -- cgit v1.2.3