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:
parent
e1467b2bf1
commit
2319480945
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user