mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
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:
parent
f103f62630
commit
fcee4ccdfd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user