fix clang compiler warning.