mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-08 06:28:26 +01:00
SOCKET_INVALID pushed as integer, not as number
winsock define INVALID_SOCKET as (UINT_PTR)(~0) in win64 it is 0xffffffffffffffff if pushed by lua_pushnumber, then ssl.core.SOCKET_INVALID is 1.84467440737096E19 tested in win32/64, linux32/64 lua5.1 and lua5.3
This commit is contained in:
parent
c6704919bd
commit
63e35c161f
Loading…
Reference in New Issue
Block a user