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:
parent
ca11abde11
commit
a397f85cd7
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user