summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src/transfer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src/transfer.cpp')
-rw-r--r--protocols/ICQCorp/src/transfer.cpp4
1 files changed, 2 insertions, 2 deletions
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 <ICQTransfer *> 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();
}