Fix std::string cast

This commit is contained in:
Amos 2022-01-18 02:10:54 +01:00
parent 2be10dbaa4
commit 66cdb6ff18

View File

@ -430,7 +430,7 @@ void CConsole::ProcessCommand(const char* pszCommand)
int nFirst = (int)m_vsvHistory.size() - 10;
for (int i = nFirst > 0 ? nFirst : 0; i < (int)m_vsvHistory.size(); i++)
{
AddLog("%3d: %s\n", i, m_vsvHistory[i]);
AddLog("%3d: %s\n", i, m_vsvHistory[i].c_str());
}
}