fix compil warnings

This commit is contained in:
jean-pierre charras 2023-01-27 18:17:59 +01:00
parent 2decfd4bd2
commit ff46b7b1e5
2 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParen
const wxString& aTableName,
const KIWAY::FACE_T aFaceType ) :
DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE( aParent ),
m_tableName( aTableName ),
m_defaultFileFound( false ),
m_faceType( aFaceType ),
m_tableName( aTableName )
m_faceType( aFaceType )
{
wxString tmp;

View File

@ -333,7 +333,7 @@ void VIEW::Add( VIEW_ITEM* aItem, int aDrawPriority )
for( int i = 0; i < layers_count; ++i )
{
if( layers[i] < 0 || layers[i] >= m_layers.size() )
if( layers[i] < 0 || layers[i] >= (int)m_layers.size() )
continue;
VIEW_LAYER& l = m_layers[layers[i]];