Remove warnings and fix makefile for Win32.
This commit is contained in:
parent
618ce43ee3
commit
72a5347f97
9 changed files with 33 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue