Fix a compiler warning about using %d for a size_t