From c9f9be4510270fce0e0ff4451c8b16293f36de7e Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Tue, 3 Aug 1999 13:05:19 +0000 Subject: [PATCH] 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 --- src/common/filefn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- 2.45.2