From 4b7e30d64fef3ce4809e3cb16bfa04a3c2269f0f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 14 Dec 2015 22:53:36 +0000 Subject: ICQCorp: -minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/ICQCorp/src/transfer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/ICQCorp/src/transfer.cpp') diff --git a/protocols/ICQCorp/src/transfer.cpp b/protocols/ICQCorp/src/transfer.cpp index 32058cc1f9..4f1f039dfa 100644 --- a/protocols/ICQCorp/src/transfer.cpp +++ b/protocols/ICQCorp/src/transfer.cpp @@ -23,7 +23,7 @@ std::vector icqTransfers; /////////////////////////////////////////////////////////////////////////////// -void WINAPI transferTimerProc(HWND hWnd, UINT Msg, UINT_PTR hTimer, DWORD Time) +void WINAPI transferTimerProc(HWND, UINT, UINT_PTR hTimer, DWORD) { unsigned int i; @@ -374,7 +374,7 @@ void ICQTransfer::process() while (fileProgress < fileSize && GetTickCount() < startTime+100) sendPacket0x06(); ack(ACKRESULT_DATA); - if (fileProgress < fileSize) hTimer = SetTimer(NULL, 0, 1, (TIMERPROC)transferTimerProc); + if (fileProgress < fileSize) hTimer = SetTimer(NULL, 0, 1, transferTimerProc); else if (current < count-1) sendPacket0x02(); } -- cgit v1.2.3