aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-12 05:19:00 +0000
committerYang Tse <yangsita@gmail.com>2006-07-12 05:19:00 +0000
commit58176d14848f315ea74772bd9ce7edd847b2a17d (patch)
tree42685c540585d5c2d1205176734da6f2a54222e4 /lib/sendf.c
parent10489879f731465f3d2105870e7533c2b355af5d (diff)
Use platform's native types for recv() and send() arguments.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index d248c189a..d598197bd 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -332,7 +332,7 @@ CURLcode Curl_write(struct connectdata *conn,
/* only TRUE if krb4 enabled */
bytes_written = Curl_sec_write(conn, sockfd, mem, len);
else
- bytes_written = (ssize_t)swrite(sockfd, mem, len);
+ bytes_written = swrite(sockfd, mem, len);
if(-1 == bytes_written) {
int err = Curl_sockerrno();