summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/dropbox_service.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-05-08 22:52:08 +0300
committeraunsane <aunsane@gmail.com>2017-05-08 22:52:38 +0300
commit0c16760ed8a6a824d50d1f22a0c08cea0ab5640a (patch)
tree7d4b162f4c043fe344e1b0637fc73ed8e825a499 /plugins/CloudFile/src/Services/dropbox_service.cpp
parent0f5fe9d84cc459d29a567b93e33ca35ddfd4a041 (diff)
CloudFile: fix build for VS2010
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();