summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_multimedia.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-26 11:27:38 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-26 11:27:38 +0000
commit1daece9859332aca46217ac48727d71e8f8c5661 (patch)
tree15f765a080b09db2033699bbcae02d19c406b1d5 /protocols/Tox/src/tox_multimedia.cpp
parent4adcfa326ef4592aceaeae95f89449dcdd9f7c3d (diff)
Tox - adding to solution fix + warnings fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@13162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_multimedia.cpp')
-rw-r--r--protocols/Tox/src/tox_multimedia.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_multimedia.cpp b/protocols/Tox/src/tox_multimedia.cpp
index 3c8dded1b8..29c3e5b398 100644
--- a/protocols/Tox/src/tox_multimedia.cpp
+++ b/protocols/Tox/src/tox_multimedia.cpp
@@ -312,7 +312,7 @@ INT_PTR CToxProto::OnRecvAudioCall(WPARAM hContact, LPARAM lParam)
}
// react on clist event click
-INT_PTR CToxProto::OnAudioRing(WPARAM wParam, LPARAM lParam)
+INT_PTR CToxProto::OnAudioRing(WPARAM, LPARAM lParam)
{
CLISTEVENT *cle = (CLISTEVENT*)lParam;
CDlgBase *incomingCallDlg = new CToxIncomingCall(this, cle->hContact);
@@ -342,7 +342,6 @@ void CToxProto::OnAvCancel(void*, int32_t callId, void *arg)
return;
}
- int iEvent = 0;
CLISTEVENT *cle = NULL;
while ((cle = (CLISTEVENT*)CallService(MS_CLIST_GETEVENT, hContact, 0)))
{
@@ -584,7 +583,7 @@ void CToxProto::OnAvPeerTimeout(void*, int32_t callId, void *arg)
//////
-void CToxProto::OnFriendAudio(void*, int32_t callId, const int16_t *PCM, uint16_t size, void *arg)
+void CToxProto::OnFriendAudio(void*, int32_t, const int16_t *PCM, uint16_t size, void *arg)
{
CToxProto *proto = (CToxProto*)arg;