Update to Visual Studio 2017.
This commit is contained in:
parent
648d81281f
commit
288219fd6b
10 changed files with 151 additions and 178 deletions
2
src/luasocket.c
Normal file → Executable file
2
src/luasocket.c
Normal file → Executable file
|
@ -64,7 +64,7 @@ static luaL_Reg func[] = {
|
|||
* Skip a few arguments
|
||||
\*-------------------------------------------------------------------------*/
|
||||
static int global_skip(lua_State *L) {
|
||||
int amount = luaL_checkinteger(L, 1);
|
||||
int amount = (int) luaL_checkinteger(L, 1);
|
||||
int ret = lua_gettop(L) - amount - 1;
|
||||
return ret >= 0 ? ret : 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue