summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-19 23:23:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-19 23:23:40 +0300
commit61d558a55ba6ff52e1276bbd98644536af066bf2 (patch)
tree06b7cf4115d64cc8c28fc78ecc2679171389146f /plugins/CloudFile/src
parent9607d93a375a8117b1387ad488e8dd7d776fe395 (diff)
compilation fix
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)