summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 20:11:28 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:09:33 -0600
commit71d059796e9eff47180af5a39b2a5f5ec62e6a4f (patch)
tree317095d02f1044c36323e90dca07ea77dc120a90 /src/item.cc
parent6983a56a23ae14f7ceeffc2c3867b29e6f518693 (diff)
downloadfork-ledger-71d059796e9eff47180af5a39b2a5f5ec62e6a4f.tar.gz
fork-ledger-71d059796e9eff47180af5a39b2a5f5ec62e6a4f.tar.bz2
fork-ledger-71d059796e9eff47180af5a39b2a5f5ec62e6a4f.zip
Changed an int to std::size_t
Diffstat (limited to 'src/item.cc')
-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;