]> git.saurik.com Git - wxWidgets.git/commitdiff
const char correction for mac
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 19 Aug 2002 19:34:13 +0000 (19:34 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 19 Aug 2002 19:34:13 +0000 (19:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index ae6440cc5afd4661417dbbae24426c144ac06a73..7ca4edd295680817350dca0b4bd83af9f998e563 100644 (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 ;