aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-12-12 18:25:51 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-12-12 18:25:51 +0100
commite9212a2a7f3e4e720129a9422ff177e1c9fddda1 (patch)
tree935045df442b3be4f1ea5e4e54fc2ca6493fad5c /socket.c
parent32b4002531dd09271335f1995bd09934b8d675dd (diff)
downloadfetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.tar.gz
fetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.tar.bz2
fetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.zip
Fix compiler warnings.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
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)