fix compil warnings
This commit is contained in:
parent
2decfd4bd2
commit
ff46b7b1e5
|
@ -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;
|
||||
|
||||
|
|
|
@ -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]];
|
||||
|
|
Loading…
Reference in New Issue