]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced (char*)wxFNCONV with (const char*)wxFNCONV
authorOve Kaaven <ovek@arcticnet.no>
Tue, 3 Aug 1999 13:02:04 +0000 (13:02 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Tue, 3 Aug 1999 13:02:04 +0000 (13:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index c809581d8d0967e19d7ab8d43c78d0e33264f527..9d81cf56696af9c29285d4c26c1884bbcaf36c98 100644 (file)
@@ -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);