summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index 8a2b5585..026a3790 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -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;