mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 07:11:56 +00:00
Minor warning fixes.
This commit is contained in:
parent
775c37f387
commit
98b49db82a
@ -126,7 +126,7 @@ UI::EventReturn CwCheatScreen::OnEnableAll(UI::EventParams ¶ms)
|
||||
cheatList[j].replace(0, 3, "_C0");
|
||||
}
|
||||
}
|
||||
for (int y = 0; y < bEnableCheat.size(); y++) {
|
||||
for (size_t y = 0; y < bEnableCheat.size(); y++) {
|
||||
bEnableCheat[y] = enableAll;
|
||||
}
|
||||
for (int i = 0; i < (int)cheatList.size(); i++) {
|
||||
|
@ -149,7 +149,7 @@ PostProcScreen::PostProcScreen(const std::string &title) : ListPopupScreen(title
|
||||
shaders_ = GetAllPostShaderInfo();
|
||||
std::vector<std::string> items;
|
||||
int selected = -1;
|
||||
for (int i = 0; i < shaders_.size(); i++) {
|
||||
for (int i = 0; i < (int)shaders_.size(); i++) {
|
||||
if (shaders_[i].section == g_Config.sPostShaderName)
|
||||
selected = i;
|
||||
items.push_back(shaders_[i].name);
|
||||
|
@ -448,7 +448,7 @@ namespace MainWindow
|
||||
void UpdateDynamicMenuCheckmarks() {
|
||||
int item = ID_SHADERS_BASE + 1;
|
||||
|
||||
for (int i = 0; i < availableShaders.size(); i++)
|
||||
for (size_t i = 0; i < availableShaders.size(); i++)
|
||||
CheckMenuItem(menu, item++, ((g_Config.sPostShaderName == availableShaders[i]) ? MF_CHECKED : MF_UNCHECKED));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user