From: Ove Kaaven Date: Tue, 3 Aug 1999 13:02:04 +0000 (+0000) Subject: Replaced (char*)wxFNCONV with (const char*)wxFNCONV X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/68abfefc451b6c8a67e8fbd79e5009cf656bde34 Replaced (char*)wxFNCONV with (const char*)wxFNCONV git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index c809581d8d..9d81cf5669 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((char*)wxFNCONV(dirname)) != 0 ) + if ( mkdir((const char*)wxFNCONV(dirname)) != 0 ) #endif // !MSW/MSW { wxLogSysError(_("Directory '%s' couldn't be created"), dirname);