summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
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: