Update onedrive.d

* Fix arm64 compiler issue when calculating transfer ETA
This commit is contained in:
abraunegg 2024-04-29 06:29:23 +10:00
parent 1ab1056c8c
commit 0f0bc88ed7

View file

@ -958,7 +958,7 @@ class OneDriveApi {
bool barInit = false;
real previousProgressPercent = -1.0;
real percentCheck = 5.0;
long segmentCount = -1;
size_t segmentCount = -1;
// Setup progress bar to display
curlEngine.http.onProgress = delegate int(size_t dltotal, size_t dlnow, size_t ultotal, size_t ulnow) {