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);