readd missing cast
This commit is contained in:
1 parent
1afb5e5219
commit
c711bf42c9
1 file changed
+1
-1
@@ -415,7 +415,7 @@ LUA_API lua_Integer lua_tointeger(lua_State *L, int idx)
|
||||
if (!(tvisstr(o) && lj_strscan_number(strV(o), &tmp)))
|
||||
return 0;
|
||||
if (tvisint(&tmp))
|
||||
return intV(&tmp);
|
||||
return (lua_Integer)intV(&tmp);
|
||||
n = numV(&tmp);
|
||||
}
|
||||
#if LJ_64
|
||||
|
||||
Reference in new issue
Block a user