Added casts to uses of 'sig_atomic'

'sig_atomic' can be larger than 'int' on some platforms.
This commit is contained in:
Roberto I
2026-09-13 14:08:50 -03:00
parent c0adc5f8a5
commit 35a87f8c5b
2 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ LUA_API lua_Hook lua_gethook (lua_State *L) {
LUA_API int lua_gethookmask (lua_State *L) {
return L->hookmask;
return cast_int(L->hookmask);
}