summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/dropbox_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/Services/dropbox_service.cpp')
-rw-r--r--plugins/CloudFile/src/Services/dropbox_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp
index fdd904e5e3..ef70949d55 100644
--- a/plugins/CloudFile/src/Services/dropbox_service.cpp
+++ b/plugins/CloudFile/src/Services/dropbox_service.cpp
@@ -242,7 +242,7 @@ UINT CDropboxService::Upload(FileTransferParam *ftp)
ftp->Progress(size);
size_t offset = size;
- size_t chunkCount = ceil(fileSize / chunkSize) - 2;
+ double chunkCount = ceil(double(fileSize) / chunkSize) - 2;
while (chunkCount--)
{
ftp->CheckCurrentFile();