From 231948094578c271e4968234b16f82dc51525d6d Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Thu, 28 Jan 2021 10:35:13 +0000 Subject: [PATCH] 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 --- src/apps/haikudepot/util/ToFileUrlProtocolListener.cpp | 4 ++-- src/apps/haikudepot/util/ToFileUrlProtocolListener.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,