Minor warning fixes.

This commit is contained in:
Unknown W. Brackets 2013-10-12 16:49:22 -07:00
parent 775c37f387
commit 98b49db82a
3 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ UI::EventReturn CwCheatScreen::OnEnableAll(UI::EventParams &params)
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++) {

View File

@ -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);

View File

@ -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));
}