diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2016-01-03 22:23:10 -0800 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2016-04-09 20:23:06 -0700 |
commit | bce927888edb524b03c4264a63a0a20f80294f99 (patch) | |
tree | f1b7477c036a9ee1712425229907c348cba4de45 | |
parent | 623ff5c6aa9a585282a5a193b7a05276a5df5d6e (diff) | |
download | rabbitmq-c-bce927888edb524b03c4264a63a0a20f80294f99.tar.gz |
Lib: correct input type to ioctlsocket on win32
-rw-r--r-- | librabbitmq/amqp_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index 0a2087f..924cd08 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -153,7 +153,7 @@ amqp_os_socket_setsockblock(int sock, int block) { #ifdef _WIN32 - int nonblock = !block; + u_long nonblock = !block; if (NO_ERROR != ioctlsocket(sock, FIONBIO, &nonblock)) { return AMQP_STATUS_SOCKET_ERROR; } else { |