summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-07-29 21:43:41 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-07-29 21:43:41 +0000
commitdeccbf7673e7edca384a021c51548f3beda15a02 (patch)
tree3d8ffb2b882991c474d3a9c4b1a2be5af86da312
parentc3e5899634db828b42aca5ebd4ba6a9d4eb16da0 (diff)
x64 signature fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/YAMN/browser/badconnect.cpp2
-rw-r--r--protocols/YAMN/browser/mailbrowser.cpp6
2 files changed, 4 insertions, 4 deletions
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));