Fix error spotted by travis-ci's clang build.