mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +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)};
|
enum {retired_fd = (fd_t)(~0)};
|
||||||
#else
|
#else
|
||||||
typedef SOCKET fd_t;
|
typedef SOCKET fd_t;
|
||||||
enum {retired_fd = INVALID_SOCKET};
|
enum {retired_fd = (fd_t)INVALID_SOCKET};
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
typedef int fd_t;
|
typedef int fd_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user