diff options
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(); |