diff --git a/pcbnew/block.cpp b/pcbnew/block.cpp index 20c6b848a3..06d63ca524 100644 --- a/pcbnew/block.cpp +++ b/pcbnew/block.cpp @@ -381,7 +381,7 @@ bool PCB_EDIT_FRAME::HandleBlockEnd( wxDC* DC ) void PCB_EDIT_FRAME::Block_SelectItems() { - int layerMask; + LAYER_MSK layerMask; GetScreen()->m_BlockLocate.Normalize(); diff --git a/pcbnew/class_board.h b/pcbnew/class_board.h index 67917a52b1..df63b410b4 100644 --- a/pcbnew/class_board.h +++ b/pcbnew/class_board.h @@ -614,7 +614,7 @@ public: void SetZoneSettings( const ZONE_SETTINGS& aSettings ) { m_zoneSettings = aSettings; } /** - * Function SetColorSettings + * Function GetColorSettings * @return the current COLORS_DESIGN_SETTINGS in use */ COLORS_DESIGN_SETTINGS* GetColorsSettings() const { return m_colorsSettings; }