From: Ove Kaaven Date: Tue, 3 Aug 1999 13:05:19 +0000 (+0000) Subject: Hmm, apparently had to add FNSTRINGCAST elsewhere in the file too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9f9be4510270fce0e0ff4451c8b16293f36de7e Hmm, apparently had to add FNSTRINGCAST elsewhere in the file too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index d450c9aae8..7461ca1dd4 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1503,7 +1503,7 @@ wxString wxGetCwd() bool wxSetWorkingDirectory(const wxString& d) { #if defined( __UNIX__ ) || defined( __WXMAC__ ) || defined(__WXPM__) - return (chdir((char*)d.fn_str()) == 0); + return (chdir(FNSTRINGCAST d.fn_str()) == 0); #elif defined(__WINDOWS__) #ifdef __WIN32__