aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-31 15:06:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-31 15:06:56 +0000
commit9464c5430d8c8355a3245e5c62f33eea6761a5d0 (patch)
treeebb3da059fbb2f84d89998683ecdc29377672a3c
parenta14aaaf23fa8202fe60f5d7ba29dfe842ab5f80d (diff)
Curl_read() uses ssize_t now
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 92b56600c..1c4e74c6f 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -109,7 +109,7 @@
CURLcode static
_Transfer(struct connectdata *c_conn)
{
- size_t nread; /* number of bytes read */
+ ssize_t nread; /* number of bytes read */
int bytecount = 0; /* total number of bytes read */
int writebytecount = 0; /* number of bytes written */
long contentlength=0; /* size of incoming data */