const char correction for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-08-19 19:34:13 +00:00
parent ca11abde11
commit a397f85cd7

View File

@ -1727,7 +1727,7 @@ public :
m_type = from.m_type ;
m_creator = from.m_creator ;
}
MacDefaultExtensionRecord( char * extension , OSType type , OSType creator )
MacDefaultExtensionRecord( const char * extension , OSType type , OSType creator )
{
strncpy( m_ext , extension , kMacExtensionMaxLength ) ;
m_ext[kMacExtensionMaxLength] = 0 ;