Fixed Clang warnings