git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3249
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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);