Changed an int to std::size_t

This commit is contained in:
John Wiegley 2012-02-10 20:11:28 -10:00
parent 6983a56a23
commit 71d059796e

View file

@ -193,7 +193,7 @@ void item_t::parse_tags(const char * p,
}
}
else if (first && q[len - 1] == ':') { // a metadata setting
int index = 1;
std::size_t index = 1;
if (q[len - 2] == ':') {
by_value = true;
index = 2;