summaryrefslogtreecommitdiff
path: root/plugins/BuddyExpectator/src/BuddyExpectator.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-21 10:13:35 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-21 10:13:35 +0000
commitbe5babe8aa4e5db0b01b75a118da79119c7668b8 (patch)
treef198372b2a2a19161cecd9438a6374b708fcbf78 /plugins/BuddyExpectator/src/BuddyExpectator.cpp
parentf53939aac89211b2d43288ea3b89c4bdca00352b (diff)
minor signature fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyExpectator/src/BuddyExpectator.cpp')
-rw-r--r--plugins/BuddyExpectator/src/BuddyExpectator.cpp8
1 files 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;