mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #2036 from lioncash/master
Fix signed/unsigned mismatch warnings in CwCheat.cpp
This commit is contained in:
commit
1e68bbed33
1 changed files with 3 additions and 3 deletions
|
@ -144,9 +144,9 @@ inline std::vector<std::string> makeCodeParts() {
|
|||
std::vector<std::string> CodesList = cheats.GetCodesList();
|
||||
char split_char = '\n';
|
||||
char empty = ' ';
|
||||
for (int i = 0; i < CodesList.size(); i++) {
|
||||
for (size_t i = 0; i < CodesList.size(); i++) {
|
||||
currentcode = CodesList[i];
|
||||
for (int j=0; j < currentcode.length(); j++) {
|
||||
for (size_t j=0; j < currentcode.length(); j++) {
|
||||
if (currentcode[j] == empty) {
|
||||
currentcode[j] = '\n';
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ std::vector<std::string> CWCheatEngine::GetCodesList() {
|
|||
codesList.push_back(line);
|
||||
}
|
||||
}
|
||||
for( int i = 0; i < codesList.size(); i++) {
|
||||
for(size_t i = 0; i < codesList.size(); i++) {
|
||||
trim2(codesList[i]);
|
||||
}
|
||||
return codesList;
|
||||
|
|
Loading…
Add table
Reference in a new issue