Fixed a compiler warning from clang.