From 61d558a55ba6ff52e1276bbd98644536af066bf2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Feb 2018 23:23:40 +0300 Subject: compilation fix --- plugins/CloudFile/src/transfers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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 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) -- cgit v1.2.3