summaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
commitb791e158f0e04a518dea19fdaf0bfbf71b343c64 (patch)
tree4284e63220eb5883c24351dc2f52282645b3b7cf /lib/file.c
parent6cd0a90b523c594c75a5cb517f8081390e9e88df (diff)
downloadcurl-b791e158f0e04a518dea19fdaf0bfbf71b343c64.tar.gz
use curl_off_t instead of off_t!
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c4
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;