From 52aa2b5d24c560fb4d7a642971571ff9cbeabfcd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 13 Mar 2024 09:20:34 -0300 Subject: Details - 'unsigned int' -> 'unsigned' - Some explicit casts to avoid warnings - Test avoids printing the value of 'fail' (which may not be nil) --- lua.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index face93fa..b6934e68 100644 --- a/lua.h +++ b/lua.h @@ -160,8 +160,7 @@ extern const char lua_ident[]; /* ** state manipulation */ -LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, - unsigned int seed); +LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud, unsigned seed); LUA_API void (lua_close) (lua_State *L); LUA_API lua_State *(lua_newthread) (lua_State *L); LUA_API int (lua_closethread) (lua_State *L, lua_State *from); -- cgit v1.2.3-55-g6feb