From 617831dfc953a5bba630163c01fbeda11445ee78 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Dec 2017 21:36:29 +0300 Subject: mir_base64_* => parameters type fix --- protocols/MRA/src/MraOfflineMsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/MRA/src/MraOfflineMsg.cpp') diff --git a/protocols/MRA/src/MraOfflineMsg.cpp b/protocols/MRA/src/MraOfflineMsg.cpp index a5e786a6ba..1495f6d2a2 100644 --- a/protocols/MRA/src/MraOfflineMsg.cpp +++ b/protocols/MRA/src/MraOfflineMsg.cpp @@ -138,7 +138,7 @@ static DWORD PlainText2message(const CMStringA &szContentType, const CMStringA & // Content-Type: text/plain; charset = CP-1251 if ( strstr(szContentType, "utf-16le")) { // charset = UTF-16LE// предполагаем что оно в base64 - unsigned dwTextSize; + size_t dwTextSize; ptrA lpszText((LPSTR)mir_base64_decode(szBody, &dwTextSize)); if (lpszText) { plpsText = CMStringA(lpszText, dwTextSize); -- cgit v1.2.3