diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 13:53:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 13:53:03 +0000 |
commit | 4da03f6440d24fefcc129fc3317b9519a76f9216 (patch) | |
tree | 1badb0a0a2d7ced87ce2b38cab9578eae04f12a3 /plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp | |
parent | f3088d36fec8c063462d9dc16734ec0c11813668 (diff) |
Import_SA:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@554 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp')
-rw-r--r-- | plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp b/plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp index 130843205e..15b58f4e0a 100644 --- a/plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp +++ b/plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp @@ -1034,7 +1034,7 @@ BOOL ImportExtendedMessage(DWORD dwOffset) AddMessage( LPGEN("Ignoring msg with no text from %d ofs %d."), msg->uin, dwOffset );
return FALSE;
}
- pszText = _strdup(pDat + dwRichTextOffset + wRichTextLength + 2);
+ pszText = _strdup((char *)pDat + dwRichTextOffset + wRichTextLength + 2);
bFreeMe = TRUE;
mir_utf8decode(pszText, NULL);
wLength = (DWORD)strlen(pszText)+1;
@@ -1042,7 +1042,7 @@ BOOL ImportExtendedMessage(DWORD dwOffset) else {
// Use the ANSI text segment
wLength = msg->textLen;
- pszText = pDat + dwOffset + 0x2A;
+ pszText = (char *)(pDat + dwOffset + 0x2A);
}
// Convert the event to a Miranda dbevent
|