From e9212a2a7f3e4e720129a9422ff177e1c9fddda1 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 12 Dec 2010 18:25:51 +0100 Subject: Fix compiler warnings. --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'socket.c') diff --git a/socket.c b/socket.c index 64b53b5e..1adc839d 100644 --- a/socket.c +++ b/socket.c @@ -1065,7 +1065,7 @@ int SockClose(int sock) */ static ssize_t cygwin_read(int sock, void *buf, size_t count) { - char *bp = buf; + char *bp = (char *)buf; size_t n = 0; if ((n = read(sock, bp, count)) == (size_t)-1) -- cgit v1.2.3