diff --git a/eeschema/sch_legacy_plugin.cpp b/eeschema/sch_legacy_plugin.cpp index d6a85032f3..9b9cebd38c 100644 --- a/eeschema/sch_legacy_plugin.cpp +++ b/eeschema/sch_legacy_plugin.cpp @@ -2040,7 +2040,7 @@ void SCH_LEGACY_PLUGIN::saveComponent( SCH_COMPONENT* aComponent ) wxString path = "/"; // Skip root sheet - for( int i = 1; i < instance.m_Path.size(); ++i ) + for( int i = 1; i < (int) instance.m_Path.size(); ++i ) path += instance.m_Path[i].AsLegacyTimestampString() + "/"; m_out->Print( 0, "AR Path=\"%s\" Ref=\"%s\" Part=\"%d\" \n", diff --git a/pcbnew/drc/drc_tree_model.h b/pcbnew/drc/drc_tree_model.h index 4628a3dee0..b8b7c88e3b 100644 --- a/pcbnew/drc/drc_tree_model.h +++ b/pcbnew/drc/drc_tree_model.h @@ -353,6 +353,8 @@ public: case DRC_TREE_NODE::MAIN_ITEM: return false; case DRC_TREE_NODE::AUX_ITEM: return false; } + + return false; } void DeleteCurrentItem()