diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/BuddyExpectator/src/BuddyExpectator.cpp | 8 |
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;
|