Fix a compiler warning.

This commit is contained in:
Mark de Wever 2009-01-12 19:23:46 +00:00
parent eb4fd385a2
commit 7f89a340d7

View File

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