Fix some type comparison warnings.

This commit is contained in:
Unknown W. Brackets committed 2016-08-05 10:47:45 -07:00
1 parent e55198f7e7
commit fd546ff21d
7 files changed
+9 -9

No files matched your search

+1 -1
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 == "") {