HaikuDepot: handle the change to off_t for download and upload

This is a missed use of the updated headers in hrev54926

Change-Id: I56c7e20e150d184d06b2ad87cff222f819fa08b0
This commit is contained in:
Niels Sascha Reedijk 2021-01-28 10:35:13 +00:00
parent e1467b2bf1
commit 2319480945
2 changed files with 4 additions and 4 deletions

View File

@ -94,14 +94,14 @@ ToFileUrlProtocolListener::DataReceived(BUrlRequest* caller, const char* data,
void
ToFileUrlProtocolListener::DownloadProgress(BUrlRequest* caller,
ssize_t bytesReceived, ssize_t bytesTotal)
off_t bytesReceived, off_t bytesTotal)
{
}
void
ToFileUrlProtocolListener::UploadProgress(BUrlRequest* caller,
ssize_t bytesSent, ssize_t bytesTotal)
off_t bytesSent, off_t bytesTotal)
{
}

View File

@ -31,9 +31,9 @@ public:
const char* data, off_t position,
ssize_t size);
void DownloadProgress(BUrlRequest* caller,
off_t bytesReceived, ssize_t bytesTotal);
off_t bytesReceived, off_t bytesTotal);
void UploadProgress(BUrlRequest* caller,
off_t bytesSent, ssize_t bytesTotal);
off_t bytesSent, off_t bytesTotal);
void RequestCompleted(BUrlRequest* caller,
bool success);
void DebugMessage(BUrlRequest* caller,