Fix a compil issue due to incorrect conversion.

This commit is contained in:
jean-pierre charras 2017-01-28 20:33:02 +01:00
parent a7c4c8c7f2
commit 70b39d27ae
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ void FOOTPRINT_WIZARD_FRAME::PythonPluginsReload()
// call PCB_EDIT_FRAME::PythonPluginsReload() if the board editor // call PCB_EDIT_FRAME::PythonPluginsReload() if the board editor
// is running // is running
PCB_EDIT_FRAME* brd_frame = PCB_EDIT_FRAME* brd_frame =
static_cast<PCB_BASE_FRAME*>( Kiway().Player( FRAME_PCB, false ) ); static_cast<PCB_EDIT_FRAME*>( Kiway().Player( FRAME_PCB, false ) );
if( brd_frame ) if( brd_frame )
brd_frame->PythonPluginsReload(); brd_frame->PythonPluginsReload();