Fixed warnings on clang