diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-12 05:19:00 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-12 05:19:00 +0000 |
commit | 58176d14848f315ea74772bd9ce7edd847b2a17d (patch) | |
tree | 42685c540585d5c2d1205176734da6f2a54222e4 /lib/sendf.c | |
parent | 10489879f731465f3d2105870e7533c2b355af5d (diff) |
Use platform's native types for recv() and send() arguments.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
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(); |