summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-11 05:08:55 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-11 05:08:55 -0500
commit62c04deb8719444d1f958d40fe6442b714bb7e50 (patch)
tree296c3e1742bbafc10d6cd9f67585a2ba68e5c3d2 /src/value.cc
parent020de80f6012bb323f11da77e0ca3c8841999491 (diff)
downloadfork-ledger-62c04deb8719444d1f958d40fe6442b714bb7e50.tar.gz
fork-ledger-62c04deb8719444d1f958d40fe6442b714bb7e50.tar.bz2
fork-ledger-62c04deb8719444d1f958d40fe6442b714bb7e50.zip
Quieted several compiler warnings from Clang
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc
index cae2a356..c14a7104 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1468,7 +1468,7 @@ value_t value_t::exchange_commodities(const std::string& commodities,
}
}
- int index = 0;
+ std::size_t index = 0;
foreach (commodity_t * comm, comms) {
switch (type()) {
case AMOUNT: