diff --git a/qa/qa_utils/pcb_test_frame.cpp b/qa/qa_utils/pcb_test_frame.cpp index 4091508b54..30db64f782 100644 --- a/qa/qa_utils/pcb_test_frame.cpp +++ b/qa/qa_utils/pcb_test_frame.cpp @@ -100,7 +100,7 @@ BOARD* PCB_TEST_FRAME_BASE::LoadAndDisplayBoard( const std::string& filename ) } catch( const IO_ERROR& ioe ) { - wxPrintf( "Board Loading Error: '%s'\n", ioe.Problem().c_str() ); + wxPrintf( "Board Loading Error: '%s'\n", ioe.Problem() ); return nullptr; }