From adb23827c1dae8f4f39f07fea9a894c64eb315ee Mon Sep 17 00:00:00 2001 From: "tommi@webrtc.org" Date: Sat, 20 Aug 2011 13:43:44 +0000 Subject: [PATCH] Fix windows build. TBR=andrew Review URL: http://webrtc-codereview.appspot.com/125001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@411 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/voice_engine/main/test/win_test/WinTestDlg.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/voice_engine/main/test/win_test/WinTestDlg.cpp b/src/voice_engine/main/test/win_test/WinTestDlg.cpp index ec8c4015eb..86196ec4d8 100644 --- a/src/voice_engine/main/test/win_test/WinTestDlg.cpp +++ b/src/voice_engine/main/test/win_test/WinTestDlg.cpp @@ -347,8 +347,10 @@ class TelephoneEventObserver: public VoETelephoneEventObserver { public: TelephoneEventObserver(CWnd* editControlOut, CWnd* editControlIn); - virtual void OnReceivedTelephoneEventInband(const int channel, const unsigned char eventCode, const bool endOfEvent); - virtual void OnReceivedTelephoneEventOutOfBand(const int channel, const unsigned char eventCode, const bool endOfEvent); + virtual void OnReceivedTelephoneEventInband(int channel, int eventCode, + bool endOfEvent); + virtual void OnReceivedTelephoneEventOutOfBand(int channel, int eventCode, + bool endOfEvent); private: CWnd* _editControlOutPtr; CWnd* _editControlInPtr; @@ -360,7 +362,9 @@ TelephoneEventObserver::TelephoneEventObserver(CWnd* editControlOut, CWnd* editC { } -void TelephoneEventObserver::OnReceivedTelephoneEventInband(const int channel, const unsigned char eventCode, const bool endOfEvent) +void TelephoneEventObserver::OnReceivedTelephoneEventInband(int channel, + int eventCode, + bool endOfEvent) { CString msg; if (endOfEvent) @@ -375,7 +379,9 @@ void TelephoneEventObserver::OnReceivedTelephoneEventInband(const int channel, c } } -void TelephoneEventObserver::OnReceivedTelephoneEventOutOfBand(const int channel, const unsigned char eventCode, const bool endOfEvent) +void TelephoneEventObserver::OnReceivedTelephoneEventOutOfBand(int channel, + int eventCode, + bool endOfEvent) { CString msg; if (endOfEvent)