diff --git a/src/apps/haikudepot/util/ToFileUrlProtocolListener.cpp b/src/apps/haikudepot/util/ToFileUrlProtocolListener.cpp index d135a81181..f85e19150c 100644 --- a/src/apps/haikudepot/util/ToFileUrlProtocolListener.cpp +++ b/src/apps/haikudepot/util/ToFileUrlProtocolListener.cpp @@ -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) { } diff --git a/src/apps/haikudepot/util/ToFileUrlProtocolListener.h b/src/apps/haikudepot/util/ToFileUrlProtocolListener.h index 20e13d3548..3cc7d37742 100644 --- a/src/apps/haikudepot/util/ToFileUrlProtocolListener.h +++ b/src/apps/haikudepot/util/ToFileUrlProtocolListener.h @@ -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,