diff --git a/pcbnew/plugins/kicad/kicad_plugin.cpp b/pcbnew/plugins/kicad/kicad_plugin.cpp index f344afd018..390ecc2db9 100644 --- a/pcbnew/plugins/kicad/kicad_plugin.cpp +++ b/pcbnew/plugins/kicad/kicad_plugin.cpp @@ -855,7 +855,7 @@ void PCB_IO::format( const PCB_SHAPE* aShape, int aNestLevel ) const } else { - SHAPE_ARC& arc = outline.Arc( ind ); + const SHAPE_ARC& arc = outline.Arc( ind ); m_out->Print( aNestLevel, "%s(arc (start %s) (mid %s) (end %s)", nestLevel ? "" : " ", FormatInternalUnits( arc.GetP0() ).c_str(),