diff --git a/src/mac/app.cpp b/src/mac/app.cpp index ecf1ec44b2..ebbb1498be 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -665,7 +665,7 @@ void wxApp::CleanUp() #ifndef __DARWIN__ # if __option(profile) - ProfilerDump( "\papp.prof" ) ; + ProfilerDump( (StringPtr)"\papp.prof" ) ; ProfilerTerm() ; # endif #endif diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index ecf1ec44b2..ebbb1498be 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -665,7 +665,7 @@ void wxApp::CleanUp() #ifndef __DARWIN__ # if __option(profile) - ProfilerDump( "\papp.prof" ) ; + ProfilerDump( (StringPtr)"\papp.prof" ) ; ProfilerTerm() ; # endif #endif