summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src')
-rw-r--r--plugins/CloudFile/src/transfers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/transfers.cpp b/plugins/CloudFile/src/transfers.cpp
index 0c76247b6b..376c5c5f74 100644
--- a/plugins/CloudFile/src/transfers.cpp
+++ b/plugins/CloudFile/src/transfers.cpp
@@ -2,10 +2,10 @@
LIST<FileTransferParam> Transfers(1, HandleKeySortT);
-INT_PTR CCloudService::SendFileInterceptor(WPARAM wParam, LPARAM lParam)
+INT_PTR CCloudService::SendFileInterceptor(WPARAM, LPARAM lParam)
{
CCSDATA *pccsd = (CCSDATA*)lParam;
- for (size_t i = 0; i < Services.getCount(); i++) {
+ for (int i = 0; i < Services.getCount(); i++) {
CCloudService *service = Services[i];
auto it = service->InterceptedContacts.find(pccsd->hContact);
if (it == service->InterceptedContacts.end())
@@ -16,7 +16,7 @@ INT_PTR CCloudService::SendFileInterceptor(WPARAM wParam, LPARAM lParam)
return CALLSERVICE_NOTFOUND;
}
-INT_PTR CCloudService::FileCancel(MCONTACT, HANDLE hTransfer)
+int CCloudService::FileCancel(MCONTACT, HANDLE hTransfer)
{
FileTransferParam *ftp = Transfers.find((FileTransferParam*)&hTransfer);
if (ftp)