Fix Clang warnings and a typo.