summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_transfers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox_transfers.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_transfers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox_transfers.cpp b/plugins/Dropbox/src/dropbox_transfers.cpp
index 3c3e949430..f146a71a55 100644
--- a/plugins/Dropbox/src/dropbox_transfers.cpp
+++ b/plugins/Dropbox/src/dropbox_transfers.cpp
@@ -264,7 +264,7 @@ void _cdecl CDropbox::SendFileAsync(void *arg)
chunkSize = DROPBOX_FILE_CHUNK_SIZE * 4;
char *data = new char[chunkSize + 1];
- int count = fread(data, sizeof(char), chunkSize, file);
+ int count = (int)fread(data, sizeof(char), chunkSize, file);
if (!offset)
{