diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-12-14 22:53:36 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-12-14 22:53:36 +0000 |
commit | 4b7e30d64fef3ce4809e3cb16bfa04a3c2269f0f (patch) | |
tree | f811b9c8531f1ba0765a1142e8c0957bc7e6a851 /protocols/ICQCorp/src/event.cpp | |
parent | 2b962e1ce27336c7ce3a028a8b5f58f8b3a79e78 (diff) |
ICQCorp:
-minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/ICQCorp/src/event.cpp')
-rw-r--r-- | protocols/ICQCorp/src/event.cpp | 4 |
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;
}
|