From f580be3d9dcccb14831d6bed9e7dfca600f5b6f8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Mar 2019 16:15:45 +0300 Subject: popups: - internal implementation details & all service declarations moved to m_popup_int.h; - all service calls removed and replaced with function calls; - direct access to popup serttings replaced with Popup_Enable / Popup_Enabled; --- plugins/Exchange/src/emails.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Exchange/src') diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp index 993e1ccc88..93e5f1d19a 100644 --- a/plugins/Exchange/src/emails.cpp +++ b/plugins/Exchange/src/emails.cpp @@ -312,7 +312,7 @@ int ShowPopupMessage(wchar_t *title, wchar_t *message, int cUnreadEmails) wcsncpy_s(popup.lpwzText, MAX_SECONDLINE, message, _TRUNCATE); popup.PluginWindowProc = DlgProcPopup; popup.PluginData = (int *) cUnreadEmails; - return PUAddPopupW(&popup); + return (int)PUAddPopupW(&popup); } int ShowMessageBoxMessage(wchar_t *title, wchar_t *message, int cUnreadEmails) -- cgit v1.2.3