diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-29 16:24:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-29 16:24:08 +0000 |
commit | e4709ec279fe4e531d33154c3b833a715cf56fbc (patch) | |
tree | 4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /protocols | |
parent | c70673812db722c68caef569e2c299f5462b9c13 (diff) |
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|