Commit fcee4ccd authored by Simon Giesecke's avatar Simon Giesecke

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

Solution: properly declared underlying type of enum declaring retired_fd
parent f103f626
...@@ -49,8 +49,11 @@ enum ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment