From 332a1c985d268f1e41bfac146fc80c9ccbb93c85 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jul 2012 15:52:34 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@718 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/cpp_svcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CryptoPP/cpp_svcs.cpp') diff --git a/plugins/CryptoPP/cpp_svcs.cpp b/plugins/CryptoPP/cpp_svcs.cpp index 7e97735540..2b99003a2a 100644 --- a/plugins/CryptoPP/cpp_svcs.cpp +++ b/plugins/CryptoPP/cpp_svcs.cpp @@ -128,7 +128,7 @@ LPSTR __cdecl cpp_decrypt(pCNTX ptr, LPCSTR szEncMsg) ptr->tmp = (LPSTR) cpp_gunzip((PBYTE)unciphered.data(),unciphered.length(),clen); ptr->tmp[clen] = 0; } - else ptr->tmp = (LPSTR) strdup(unciphered.c_str()); + else ptr->tmp = (LPSTR) _strdup(unciphered.c_str()); ptr->error = ERROR_NONE; return ptr->tmp; -- cgit v1.2.3