From 85d0c2b9f8ab6cb92cd2f203f5a12ce1e022dc9e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 29 Sep 1996 23:59:26 +0000 Subject: [PATCH] cast git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@808 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index 0f66fe770..6f9456828 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -583,7 +583,7 @@ set_buffer_size(int fd, int read) size_t size = 1048576; while(size >= 131072 && setsockopt(fd, SOL_SOCKET, read ? SO_RCVBUF : SO_SNDBUF, - &size, sizeof(size)) < 0) + (void *)&size, sizeof(size)) < 0) size /= 2; #endif }