mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Fix some type comparison warnings.
This commit is contained in:
1 parent
e55198f7e7
commit
fd546ff21d
7 files changed
+9
-9
No files matched your search
@@ -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 == "") {
|
||||
|
||||
Reference in new issue
Block a user