fix a warning for clang++ compiler.