From deccbf7673e7edca384a021c51548f3beda15a02 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 29 Jul 2012 21:43:41 +0000 Subject: x64 signature fix git-svn-id: http://svn.miranda-ng.org/main/trunk@1260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/YAMN/browser/badconnect.cpp | 2 +- protocols/YAMN/browser/mailbrowser.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols') diff --git a/protocols/YAMN/browser/badconnect.cpp b/protocols/YAMN/browser/badconnect.cpp index 38d73edc2f..785508d066 100644 --- a/protocols/YAMN/browser/badconnect.cpp +++ b/protocols/YAMN/browser/badconnect.cpp @@ -133,7 +133,7 @@ INT_PTR CALLBACK DlgProcYAMNBadConnection(HWND hDlg,UINT msg,WPARAM wParam,LPARA BadConnectPopUp.colorText=ActualAccount->BadConnectN.Flags & YAMN_ACC_POPC ? ActualAccount->BadConnectN.PopUpT : GetSysColor(COLOR_WINDOWTEXT); BadConnectPopUp.iSeconds=ActualAccount->BadConnectN.PopUpTime; - BadConnectPopUp.PluginWindowProc=(WNDPROC)BadConnectPopUpProc; + BadConnectPopUp.PluginWindowProc=BadConnectPopUpProc; BadConnectPopUp.PluginData=0; //it's bad connect popup lstrcpyn(BadConnectPopUp.lptzContactName,_A2T(ActualAccount->Name),SIZEOF(BadConnectPopUp.lptzContactName)); } diff --git a/protocols/YAMN/browser/mailbrowser.cpp b/protocols/YAMN/browser/mailbrowser.cpp index 67cf311919..15b24d0356 100644 --- a/protocols/YAMN/browser/mailbrowser.cpp +++ b/protocols/YAMN/browser/mailbrowser.cpp @@ -525,7 +525,7 @@ int AddNewMailsToListView(HWND hListView,HACCOUNT ActualAccount,struct CMailNumb NewMailPopUp.colorText=nflags & YAMN_ACC_POPC ? ActualAccount->NewMailN.PopUpT : GetSysColor(COLOR_WINDOWTEXT); NewMailPopUp.iSeconds=ActualAccount->NewMailN.PopUpTime; - NewMailPopUp.PluginWindowProc=(WNDPROC)NewMailPopUpProc; + NewMailPopUp.PluginWindowProc=NewMailPopUpProc; NewMailPopUp.PluginData=(void *)0; //it's new mail popup for (msgq=(HYAMNMAIL)ActualAccount->Mails;msgq!=NULL;msgq=msgq->Next,lfoundi++) @@ -699,7 +699,7 @@ void DoMailActions(HWND hDlg,HACCOUNT ActualAccount,struct CMailNumbers *MN,DWOR NewMailPopUp.colorText=nflags & YAMN_ACC_POPC ? ActualAccount->NewMailN.PopUpT : GetSysColor(COLOR_WINDOWTEXT); NewMailPopUp.iSeconds=ActualAccount->NewMailN.PopUpTime; - NewMailPopUp.PluginWindowProc=(WNDPROC)NewMailPopUpProc; + NewMailPopUp.PluginWindowProc=NewMailPopUpProc; NewMailPopUp.PluginData=(void *)0; //multiple popups lstrcpyn(NewMailPopUp.lptzContactName, _A2T(ActualAccount->Name),SIZEOF(NewMailPopUp.lptzContactName)); @@ -802,7 +802,7 @@ void DoMailActions(HWND hDlg,HACCOUNT ActualAccount,struct CMailNumbers *MN,DWOR NoNewMailPopUp.colorText=ActualAccount->NoNewMailN.Flags & YAMN_ACC_POPC ? ActualAccount->NoNewMailN.PopUpT : GetSysColor(COLOR_WINDOWTEXT); NoNewMailPopUp.iSeconds=ActualAccount->NoNewMailN.PopUpTime; - NoNewMailPopUp.PluginWindowProc=(WNDPROC)NoNewMailPopUpProc; + NoNewMailPopUp.PluginWindowProc=NoNewMailPopUpProc; NoNewMailPopUp.PluginData=(void *)0; //it's not new mail popup lstrcpyn(NoNewMailPopUp.lptzContactName,_A2T(ActualAccount->Name),SIZEOF(NoNewMailPopUp.lptzContactName)); -- cgit v1.2.3