Fix a typo and a compiler complaint.