]> Pileus Git - ~andy/fetchmail/blobdiff - socket.c
Fix compiler warnings.
[~andy/fetchmail] / socket.c
index 64b53b5e54ecae0fc9beda9c03ab7254f36c16a4..1adc839d55205b69b05967b1cccc4b06cce90867 100644 (file)
--- 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)