Fix some type comparison warnings.

This commit is contained in:
Unknown W. Brackets 2016-08-05 10:47:45 -07:00
parent e55198f7e7
commit fd546ff21d
7 changed files with 9 additions and 9 deletions

View file

@ -56,7 +56,7 @@ void CwCheatScreen::CreateCodeList() {
std::size_t lslash = gamePath_.find_last_of("/");
std::size_t lastdot = gamePath_.find_last_of(".");
std::string extension = gamePath_.substr(lastdot + 1);
for (int i = 0; i < extension.size(); i++) {
for (size_t i = 0; i < extension.size(); i++) {
extension[i] = tolower(extension[i]);
}
if ((extension != "iso" && extension != "cso" && extension != "pbp") || gameTitle == "") {