diff --git a/common/plotters/HPGL_plotter.cpp b/common/plotters/HPGL_plotter.cpp index 806ddf0905..6b4621f9d7 100644 --- a/common/plotters/HPGL_plotter.cpp +++ b/common/plotters/HPGL_plotter.cpp @@ -305,7 +305,7 @@ bool HPGL_PLOTTER::EndPlot() } } - VECTOR2I loc = m_items.begin()->loc_start; + VECTOR2D loc = m_items.begin()->loc_start; bool pen_up = true; LINE_STYLE current_dash = LINE_STYLE::SOLID; int current_pen = m_penNumber;