Problem: type of retired_fd is not fd_t (but int)

Solution: properly declared underlying type of enum declaring retired_fd
This commit is contained in:
Simon Giesecke 2018-05-17 16:59:12 +02:00
parent f103f62630
commit fcee4ccdfd

View File

@ -49,8 +49,11 @@ enum
#else
typedef SOCKET fd_t;
enum
#if _MSC_VER >= 1800
: fd_t
#endif
{
retired_fd = (fd_t) INVALID_SOCKET
retired_fd = INVALID_SOCKET
};
#endif
#else