From be5babe8aa4e5db0b01b75a118da79119c7668b8 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 21 Aug 2012 10:13:35 +0000 Subject: minor signature fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BuddyExpectator/src/BuddyExpectator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 1f09fbe473..29b1f82078 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -154,7 +154,7 @@ LRESULT CALLBACK HidePopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM return DefWindowProc(hWnd, message, wParam, lParam); } -int CALLBACK MissYouPopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK MissYouPopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { @@ -218,7 +218,7 @@ LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa return DefWindowProc(hWnd, message, wParam, lParam); } -int CALLBACK PopupDlgProcNoSet(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK PopupDlgProcNoSet(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { @@ -365,7 +365,7 @@ void GoneNotify(HANDLE hContact, TCHAR *message) ppd.colorBack = options.iPopUpColorBack; ppd.colorText = options.iPopUpColorFore; } - ppd.PluginWindowProc = (WNDPROC)PopupDlgProcNoSet; + ppd.PluginWindowProc = PopupDlgProcNoSet; ppd.PluginData = NULL; ppd.iSeconds = options.iPopUpDelay; @@ -601,7 +601,7 @@ int SettingChanged(WPARAM wParam, LPARAM lParam) ppd.colorBack = options.iPopUpColorBack; ppd.colorText = options.iPopUpColorFore; } - ppd.PluginWindowProc = (WNDPROC)MissYouPopupDlgProc; + ppd.PluginWindowProc = MissYouPopupDlgProc; ppd.PluginData = NULL; ppd.iSeconds = -1; -- cgit v1.2.3