Fix two pedantic warnings.