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:
@@ -1727,7 +1727,7 @@ public :
|
|||||||
m_type = from.m_type ;
|
m_type = from.m_type ;
|
||||||
m_creator = from.m_creator ;
|
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 ) ;
|
strncpy( m_ext , extension , kMacExtensionMaxLength ) ;
|
||||||
m_ext[kMacExtensionMaxLength] = 0 ;
|
m_ext[kMacExtensionMaxLength] = 0 ;
|
||||||
|
Reference in New Issue
Block a user