From 1ed8a4ff1ec95b0df08a5bf48bb372c8481e381b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jul 2012 15:12:10 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@716 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/cpp_gpgw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CryptoPP/cpp_gpgw.cpp') diff --git a/plugins/CryptoPP/cpp_gpgw.cpp b/plugins/CryptoPP/cpp_gpgw.cpp index 90fe8b3062..223280590f 100644 --- a/plugins/CryptoPP/cpp_gpgw.cpp +++ b/plugins/CryptoPP/cpp_gpgw.cpp @@ -203,7 +203,7 @@ LPSTR __cdecl gpg_encrypt(pCNTX ptr, LPCSTR szPlainMsg) szEncMsg = p_gpg_encrypt(szPlainMsg,(LPCSTR)p->gpgKeyID); if (!szEncMsg) return 0; - ptr->tmp = (LPSTR) strdup(szEncMsg); + ptr->tmp = (LPSTR)_strdup(szEncMsg); LocalFree((LPVOID)szEncMsg); return ptr->tmp; @@ -223,7 +223,7 @@ LPSTR __cdecl gpg_decrypt(pCNTX ptr, LPCSTR szEncMsg) if (!szPlainMsg) return NULL; }*/ - ptr->tmp = (LPSTR) strdup(szPlainMsg); + ptr->tmp = (LPSTR)_strdup(szPlainMsg); LocalFree((LPVOID)szPlainMsg); return ptr->tmp; @@ -301,7 +301,7 @@ int __cdecl gpg_set_keyid(HANDLE context, LPCSTR RemoteKeyID) ptr->error = ERROR_NONE; SAFE_FREE(p->gpgKeyID); - p->gpgKeyID = (PBYTE) strdup(RemoteKeyID); + p->gpgKeyID = (PBYTE)_strdup(RemoteKeyID); return 1; } -- cgit v1.2.3