From 68abfefc451b6c8a67e8fbd79e5009cf656bde34 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Tue, 3 Aug 1999 13:02:04 +0000 Subject: [PATCH] Replaced (char*)wxFNCONV with (const char*)wxFNCONV git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3249 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 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);