clang: fix some warnings.