diff options
Diffstat (limited to 'plugins/Exchange/src')
-rw-r--r-- | plugins/Exchange/src/MirandaExchange.cpp | 2 | ||||
-rw-r--r-- | plugins/Exchange/src/emails.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp index 671769cf9f..e85014b139 100644 --- a/plugins/Exchange/src/MirandaExchange.cpp +++ b/plugins/Exchange/src/MirandaExchange.cpp @@ -406,7 +406,7 @@ HRESULT CMirandaExchange::InitializeAndLogin(LPCTSTR szUsername, LPCTSTR szPassw return hr;
}
- DWORD dwFlags = MAPI_EXPLICIT_PROFILE | MAPI_EXTENDED | MAPI_NEW_SESSION | MAPI_NO_MAIL;
+ uint32_t dwFlags = MAPI_EXPLICIT_PROFILE | MAPI_EXTENDED | MAPI_NEW_SESSION | MAPI_NO_MAIL;
hr = MAPILogonEx(0, (LPTSTR)mir_u2a(szPIDandName), (LPTSTR)mir_u2a(m_szPassword), dwFlags, &m_lpMAPISession);
if (FAILED(hr)) {
diff --git a/plugins/Exchange/src/emails.h b/plugins/Exchange/src/emails.h index 6d90641cc8..fe63fe2b02 100644 --- a/plugins/Exchange/src/emails.h +++ b/plugins/Exchange/src/emails.h @@ -32,7 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct TEmailHeader{
int cbSize;
- DWORD flags; //flags
+ uint32_t flags; //flags
wchar_t *szSender; //pointer to string that receives the sender name
int cSender; //size of szSender buffer
wchar_t *szSubject; //pointer to string that receives the email subject
|