From: Ove Kaaven Date: Tue, 3 Aug 1999 13:03:33 +0000 (+0000) Subject: Changed my mind and used FNSTRINGCAST instead X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ff881f70d36b20561c9b941461555bc92057ee01 Changed my mind and used FNSTRINGCAST instead git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 9d81cf5669..d450c9aae8 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1035,7 +1035,7 @@ bool wxMkdir(const wxString& dir, int perm) #if (!(defined(__WXMSW__) || defined(__WXPM__))) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WXWINE__) if ( mkdir(wxFNCONV(dirname), perm) != 0 ) #else // MSW and OS/2 - if ( mkdir((const char*)wxFNCONV(dirname)) != 0 ) + if ( mkdir(FNSTRINGCAST wxFNCONV(dirname)) != 0 ) #endif // !MSW/MSW { wxLogSysError(_("Directory '%s' couldn't be created"), dirname);