- J.R. Blain: patch to fix some warnings
This commit is contained in:
parent
bc30201161
commit
93a8686ffe
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ std::vector<gamemap::location> multiple_locs(const config& cfg)
|
|||
const std::vector<std::string> xvals = config::split(cfg["x"]);
|
||||
const std::vector<std::string> yvals = config::split(cfg["y"]);
|
||||
|
||||
for(int i = 0; i != minimum(xvals.size(),yvals.size()); ++i) {
|
||||
for(unsigned int i = 0; i != minimum(xvals.size(),yvals.size()); ++i) {
|
||||
const std::pair<int,int> xrange = parse_range(xvals[i]);
|
||||
const std::pair<int,int> yrange = parse_range(yvals[i]);
|
||||
std::cerr << "range: " << xrange.first << "-" << xrange.second << "\n";
|
||||
|
|
|
@ -647,7 +647,7 @@ int show_dialog(display& disp, SDL_Surface* image,
|
|||
}
|
||||
}
|
||||
|
||||
for(int n = 0; n != check_buttons.size(); ++n) {
|
||||
for(unsigned int n = 0; n != check_buttons.size(); ++n) {
|
||||
check_buttons[n].process(mousex,mousey,left_button);
|
||||
check_buttons[n].draw();
|
||||
(*options)[n].checked = check_buttons[n].checked();
|
||||
|
|
Loading…
Add table
Reference in a new issue