use curl_off_t instead of off_t!

This commit is contained in:
Daniel Stenberg 2004-01-22 12:45:50 +00:00
parent 6cd0a90b52
commit b791e158f0
13 changed files with 67 additions and 81 deletions

View file

@ -38,11 +38,11 @@ CURLcode Curl_readwrite_init(struct connectdata *conn);
CURLcode
Curl_Transfer (struct connectdata *data,
int sockfd, /* socket to read from or -1 */
off_t size, /* -1 if unknown at this point */
curl_off_t size, /* -1 if unknown at this point */
bool getheader, /* TRUE if header parsing is wanted */
off_t *bytecountp, /* return number of bytes read */
curl_off_t *bytecountp, /* return number of bytes read */
int writesockfd, /* socket to write to, it may very well be
the same we read from. -1 disables */
off_t *writebytecountp /* return number of bytes written */
curl_off_t *writecountp /* return number of bytes written */
);
#endif