mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 12:49:20 +00:00
Fix a compiler warning.
This commit is contained in:
parent
eb4fd385a2
commit
7f89a340d7
@ -542,7 +542,7 @@ int node::output_size() const
|
||||
res += i->first.size() + i->second.size() + 4;
|
||||
}
|
||||
|
||||
int count_children = 0;
|
||||
size_t count_children = 0;
|
||||
for(child_map::const_iterator i = children_.begin(); i != children_.end(); ++i) {
|
||||
for(child_list::const_iterator j = i->second.begin(); j != i->second.end(); ++j) {
|
||||
res += i->first.size()*2 + 7;
|
||||
|
Loading…
x
Reference in New Issue
Block a user