mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Update liblua to 5.4.8
This commit is contained in:
parent
9373947e60
commit
08cf89313d
11 changed files with 52 additions and 28 deletions
|
|
@ -1343,7 +1343,7 @@ void lua_warning (lua_State *L, const char *msg, int tocont) {
|
|||
LUA_API void *lua_newuserdatauv (lua_State *L, size_t size, int nuvalue) {
|
||||
Udata *u;
|
||||
lua_lock(L);
|
||||
api_check(L, 0 <= nuvalue && nuvalue < USHRT_MAX, "invalid value");
|
||||
api_check(L, 0 <= nuvalue && nuvalue < SHRT_MAX, "invalid value");
|
||||
u = luaS_newudata(L, size, nuvalue);
|
||||
setuvalue(L, s2v(L->top.p), u);
|
||||
api_incr_top(L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue