Fix a compiler warning in test/format.