]> git.saurik.com Git - wxWidgets.git/commitdiff
Correction for gcc
authorJulian Smart <julian@anthemion.co.uk>
Sun, 21 Dec 2003 13:19:44 +0000 (13:19 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 21 Dec 2003 13:19:44 +0000 (13:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index c5f7f9a8a3d0faa16cd9a39e309ebd27fc8fd3f4..d68e8ff278ca5a40ee554c39de6d61b33aaa517a 100644 (file)
@@ -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);