Fix a warning in a log message.

Unfortunately, this will not properly log > 2 billion cheats.  I think
we'll manage to survive.
This commit is contained in:
Unknown W. Brackets 2014-08-02 14:55:15 -07:00
parent ed6d4bb6f4
commit 60ad1df8bf

View File

@ -252,7 +252,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams &params) {
fs << title[0] << "\n" << title[1];
}
NOTICE_LOG(COMMON, "Imported %lu entries from %s.\n", newList.size(), cheatFile.c_str());
NOTICE_LOG(COMMON, "Imported %u entries from %s.\n", (int)newList.size(), cheatFile.c_str());
if (newList.size() != 0) {
fs << "\n";
}