Update to Visual Studio 2017.

This commit is contained in:
Diego Nehab 2018-08-22 17:37:32 -03:00
parent 648d81281f
commit 288219fd6b
10 changed files with 151 additions and 178 deletions

2
src/luasocket.c Normal file → Executable file
View 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;
}