From 1daece9859332aca46217ac48727d71e8f8c5661 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 26 Apr 2015 11:27:38 +0000 Subject: Tox - adding to solution fix + warnings fix git-svn-id: http://svn.miranda-ng.org/main/trunk@13162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/Tox.vcxproj | 18 ++++++++++++++++++ protocols/Tox/src/tox_multimedia.cpp | 5 ++--- 2 files changed, 20 insertions(+), 3 deletions(-) (limited to 'protocols/Tox') diff --git a/protocols/Tox/Tox.vcxproj b/protocols/Tox/Tox.vcxproj index c8d45cedb0..eb5d59194d 100644 --- a/protocols/Tox/Tox.vcxproj +++ b/protocols/Tox/Tox.vcxproj @@ -1,5 +1,23 @@  + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + {BCFAB658-326E-466D-995B-E76636C1DEA4} Tox 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; -- cgit v1.2.3