summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/Import_SA/mirabilis.cpp4
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