mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +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
|
#else
|
||||||
typedef SOCKET fd_t;
|
typedef SOCKET fd_t;
|
||||||
enum
|
enum
|
||||||
|
#if _MSC_VER >= 1800
|
||||||
|
: fd_t
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
retired_fd = (fd_t) INVALID_SOCKET
|
retired_fd = INVALID_SOCKET
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user