diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/EmLanProto/src/mlan.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQCorp/src/services.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index 25e0258bd5..8b502d2fb9 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -1552,7 +1552,7 @@ int CMLan::FileResume(int cid, PROTOFILERESUME* pfr) case FILERESUME_RENAME: conn->m_state = TFileConnection::FCS_RENAME; delete[] conn->m_szRenamedFile; - conn->m_szRenamedFile = _strdup(pfr->szFilename); + conn->m_szRenamedFile = _strdup((char*)pfr->szFilename); break; case FILERESUME_SKIP: conn->m_state = TFileConnection::FCS_SKIP; diff --git a/protocols/ICQCorp/src/services.cpp b/protocols/ICQCorp/src/services.cpp index d2d559f7da..db8aa0e0c4 100644 --- a/protocols/ICQCorp/src/services.cpp +++ b/protocols/ICQCorp/src/services.cpp @@ -132,7 +132,7 @@ static INT_PTR icqSearchByName(WPARAM, LPARAM lParam) PROTOSEARCHBYNAME *psbn = (PROTOSEARCHBYNAME*)lParam;
T("[ ] search by name\n");
- icq.startSearch(1, 0, psbn->pszNick, 0);
+ icq.startSearch(1, 0, (char*)psbn->pszNick, 0);
return 1;
}
@@ -443,7 +443,7 @@ static INT_PTR icqFileResume(WPARAM wParam, LPARAM lParam) ICQTransfer *t = (ICQTransfer *)wParam;
T("[ ] send file resume\n");
- t->resume(pfr->action, pfr->szFilename);
+ t->resume(pfr->action, (char*)pfr->szFilename);
return 0;
}
|