mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-17 14:29:46 +02:00
Remove warnings and fix makefile for Win32.
This commit is contained in:
@ -139,7 +139,7 @@ static int meth_send(lua_State *L) {
|
||||
lua_pushstring(L, udp_strerror(err));
|
||||
return 2;
|
||||
}
|
||||
lua_pushnumber(L, sent);
|
||||
lua_pushnumber(L, (lua_Number) sent);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -189,7 +189,7 @@ static int meth_sendto(lua_State *L) {
|
||||
lua_pushstring(L, udp_strerror(err));
|
||||
return 2;
|
||||
}
|
||||
lua_pushnumber(L, sent);
|
||||
lua_pushnumber(L, (lua_Number) sent);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user