summaryrefslogtreecommitdiff
path: root/librabbitmq/windows
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-28 08:12:09 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-28 08:12:09 +0100
commit21ef8798cf7149bc3f16162f5286cf0f142f5b08 (patch)
tree125d95fd88d277e1170d5c205a7b4ef3f53de261 /librabbitmq/windows
parent7ffc4a3d6f3df4407b8d214d4d79fe48c5f5a398 (diff)
downloadrabbitmq-c-github-ask-21ef8798cf7149bc3f16162f5286cf0f142f5b08.tar.gz
Fix a compiler warning when building under mingw
Diffstat (limited to 'librabbitmq/windows')
-rw-r--r--librabbitmq/windows/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/windows/socket.h b/librabbitmq/windows/socket.h
index 3e0a378..38ca905 100644
--- a/librabbitmq/windows/socket.h
+++ b/librabbitmq/windows/socket.h
@@ -69,7 +69,7 @@ static inline int amqp_socket_setsockopt(int sock, int level, int optname,
/* same as WSABUF */
struct iovec {
u_long iov_len;
- char *iov_base;
+ void *iov_base;
};
static inline int amqp_socket_writev(int sock, struct iovec *iov, int nvecs)