Warning fixes:

- Don't use %lu for size_t; they're different on Linux x86.

- has_warned_about_drivers is only used on win32, so only declare it
  there to avoid a unused variable warning.
This commit is contained in:
comex 2013-10-02 20:46:46 -04:00
commit cb3afe8f70
3 changed files with 5 additions and 3 deletions

View file

@ -108,9 +108,9 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED (event))
}
// If the above-mentioned conditions weren't met, then something went wrong.
if (!PanicYesNoT("Unable to parse line %lu of the entered AR code as a valid "
if (!PanicYesNoT("Unable to parse line %u of the entered AR code as a valid "
"encrypted or decrypted code. Make sure you typed it correctly.\n"
"Would you like to ignore this line and continue parsing?", i + 1))
"Would you like to ignore this line and continue parsing?", (unsigned) (i + 1)))
{
return;
}