summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src/event.cpp')
-rw-r--r--protocols/ICQCorp/src/event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQCorp/src/event.cpp b/protocols/ICQCorp/src/event.cpp
index 69f2ac85db..44a0a2bf56 100644
--- a/protocols/ICQCorp/src/event.cpp
+++ b/protocols/ICQCorp/src/event.cpp
@@ -23,7 +23,7 @@ std::vector <ICQEvent *> icqEvents;
///////////////////////////////////////////////////////////////////////////////
-void WINAPI eventTimerProc(HWND hWnd, UINT Msg, UINT_PTR hTimer, DWORD Time)
+static void WINAPI eventTimerProc(HWND, UINT, UINT_PTR hTimer, DWORD)
{
unsigned int i;
@@ -73,7 +73,7 @@ bool ICQEvent::start()
// send the packet
if (!socket->sendPacket(*packet)) return false;
- if (cmd != ICQ_CMDxTCP_START) hTimer = SetTimer(NULL, 0, MAX_WAIT_ACK, (TIMERPROC)eventTimerProc);
+ if (cmd != ICQ_CMDxTCP_START) hTimer = SetTimer(NULL, 0, MAX_WAIT_ACK, eventTimerProc);
return true;
}