Fix some type comparison warnings.
This commit is contained in:
parent
e55198f7e7
commit
fd546ff21d
7 changed files with 9 additions and 9 deletions
|
@ -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 == "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue