Minor build warning fixes.

This commit is contained in:
Wayne Stambaugh 2020-04-03 13:01:01 -04:00
parent a546851d64
commit 082944ad06
5 changed files with 6 additions and 4 deletions

View File

@ -23,7 +23,9 @@
#cmakedefine HAVE_CMATH_ISINF #cmakedefine HAVE_CMATH_ISINF
#if !defined( HAVE_CLOCK_GETTIME )
#cmakedefine HAVE_CLOCK_GETTIME #cmakedefine HAVE_CLOCK_GETTIME
#endif
#cmakedefine HAVE_GETTIMEOFDAY_FUNC #cmakedefine HAVE_GETTIMEOFDAY_FUNC

View File

@ -100,7 +100,7 @@ void PAGED_DIALOG::finishInitialization()
m_treebook->Fit(); m_treebook->Fit();
m_treebook->Layout(); m_treebook->Layout();
for( int i = 0; i < m_treebook->GetPageCount(); ++i ) for( size_t i = 0; i < m_treebook->GetPageCount(); ++i )
m_macHack.push_back( true ); m_macHack.push_back( true );
FinishDialogSettings(); FinishDialogSettings();

View File

@ -67,7 +67,7 @@ DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP( SCH_EDIT_FRAME* aFrame ) :
FinishDialogSettings(); FinishDialogSettings();
for( int i = 0; i < m_treebook->GetPageCount(); ++i ) for( size_t i = 0; i < m_treebook->GetPageCount(); ++i )
m_macHack.push_back( true ); m_macHack.push_back( true );
} }

View File

@ -82,7 +82,7 @@ DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP( PCB_EDIT_FRAME* aFrame ) :
FinishDialogSettings(); FinishDialogSettings();
for( int i = 0; i < m_treebook->GetPageCount(); ++i ) for( size_t i = 0; i < m_treebook->GetPageCount(); ++i )
m_macHack.push_back( true ); m_macHack.push_back( true );
} }

View File

@ -156,7 +156,7 @@ DIALOG_FOOTPRINT_BOARD_EDITOR::DIALOG_FOOTPRINT_BOARD_EDITOR( PCB_EDIT_FRAME* aP
FinishDialogSettings(); FinishDialogSettings();
for( int i = 0; i < m_NoteBook->GetPageCount(); ++i ) for( size_t i = 0; i < m_NoteBook->GetPageCount(); ++i )
m_macHack.push_back( true ); m_macHack.push_back( true );
} }