editor: fix warnings in sector.h