summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-04 21:41:19 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-05 15:36:48 +0100
commit19bfe765a50a81f67325c4fd35314ca8a2e4ca0a (patch)
treed409b68f378baeaf71e634d4466e0a66982041c8 /shell
parenta63938194e936332d7c4cf8ee9d73af8c5a15c17 (diff)
shell: warning C4996 function call with parameters that may be unsafe
Change-Id: Id70289b0c88dd203cac6301303fe7452088f60f9
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/infotips/infotips.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx
index 29cb838d303e..8686898b8f1d 100644
--- a/shell/source/win32/shlxthandler/infotips/infotips.cxx
+++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx
@@ -289,7 +289,7 @@ HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoTip(DWORD /*dwFlags*/, wchar_t** ppws
ZeroMemory(pMem, len);
- msg.copy(pMem,msg.length());
+ wcscpy_s(pMem, msg.length(), msg.c_str());
*ppwszTip = pMem;
lpMalloc->Release();