Heading control: fix warnings.