diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-22 12:45:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-22 12:45:50 +0000 |
commit | b791e158f0e04a518dea19fdaf0bfbf71b343c64 (patch) | |
tree | 4284e63220eb5883c24351dc2f52282645b3b7cf /lib/file.c | |
parent | 6cd0a90b523c594c75a5cb517f8081390e9e88df (diff) | |
download | curl-b791e158f0e04a518dea19fdaf0bfbf71b343c64.tar.gz |
use curl_off_t instead of off_t!
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/file.c b/lib/file.c index 93b7977e2..2bf544add 100644 --- a/lib/file.c +++ b/lib/file.c @@ -163,12 +163,12 @@ CURLcode Curl_file(struct connectdata *conn) */ CURLcode res = CURLE_OK; struct stat statbuf; - off_t expected_size=0; + curl_off_t expected_size=0; bool fstated=FALSE; ssize_t nread; struct SessionHandle *data = conn->data; char *buf = data->state.buffer; - off_t bytecount = 0; + curl_off_t bytecount = 0; struct timeval start = Curl_tvnow(); struct timeval now = start; int fd; |