diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index 6814238117..29a9e6e0b8 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -2904,7 +2904,7 @@ void PCB_SELECTION_TOOL::GuessSelectionCandidates( GENERAL_COLLECTOR& aCollector } else if( item->Type() == PCB_BITMAP_T ) { - VECTOR2I size = static_cast( item )->GetSize(); + VECTOR2D size = static_cast( item )->GetSize(); area = size.x * size.y; } else