From d827e96f33056bcc0daca0c04b3273604f9d5986 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 8 May 2025 12:49:39 -0300 Subject: Using 'l_uint32' for unicode codepoints in scanner 'l_uint32' is enough for unicode codepoints (versus unsigned long), and the utf-8 library already uses that type. --- llimits.h | 1 - 1 file changed, 1 deletion(-) (limited to 'llimits.h') diff --git a/llimits.h b/llimits.h index 710dc1b4..b1fc384b 100644 --- a/llimits.h +++ b/llimits.h @@ -138,7 +138,6 @@ typedef LUAI_UACINT l_uacInt; #define cast_num(i) cast(lua_Number, (i)) #define cast_int(i) cast(int, (i)) #define cast_uint(i) cast(unsigned int, (i)) -#define cast_ulong(i) cast(unsigned long, (i)) #define cast_byte(i) cast(lu_byte, (i)) #define cast_uchar(i) cast(unsigned char, (i)) #define cast_char(i) cast(char, (i)) -- cgit v1.2.3-55-g6feb