From: Weixie Cui <
cuiw...@gmail.com>
---
lutf8lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lutf8lib.c b/lutf8lib.c
index b7f3fe1e..732f51b0 100644
--- a/lutf8lib.c
+++ b/lutf8lib.c
@@ -146,7 +146,7 @@ static int codepoint (lua_State *L) {
static void pushutfchar (lua_State *L, int arg) {
lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg);
luaL_argcheck(L, code <= MAXUTF, arg, "value out of range");
- lua_pushfstring(L, "%U", (long)code);
+ lua_pushfstring(L, "%U", (unsigned long)code);
}
--
2.39.5 (Apple Git-154)