From 00cb0756b4ec3ff501ac6ba4351de51c7225de70 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 21 Dec 2003 13:19:44 +0000 Subject: [PATCH] Correction for gcc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index c5f7f9a8a3..d68e8ff278 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -1022,7 +1022,7 @@ bool wxFileName::GetShortcutTarget(const wxString& shortcutPath, wxString& targe hres = psl->QueryInterface( IID_IPersistFile, (LPVOID *) &ppf); if (SUCCEEDED(hres)) { - WORD wsz[MAX_PATH]; + WCHAR wsz[MAX_PATH]; MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, shortcutPath.mb_str(), -1, wsz, MAX_PATH); -- 2.45.2