mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Silence a compiler warning.
Static analysis says: src\fd.hpp(38): error V103: Implicit type conversion from memsize to 32-bit type. Adding the explicit cast should shut it up.
This commit is contained in:
@@ -35,7 +35,7 @@ namespace zmq
|
||||
enum {retired_fd = (fd_t)(~0)};
|
||||
#else
|
||||
typedef SOCKET fd_t;
|
||||
enum {retired_fd = INVALID_SOCKET};
|
||||
enum {retired_fd = (fd_t)INVALID_SOCKET};
|
||||
#endif
|
||||
#else
|
||||
typedef int fd_t;
|
||||
|
||||
Reference in New Issue
Block a user