summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
commit05c77351e458c08873c813264005f61f828b5383 (patch)
treefa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/amount.h
parent119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff)
downloadfork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.gz
fork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.bz2
fork-ledger-05c77351e458c08873c813264005f61f828b5383.zip
Stopped using the generic "unsigned int" in favor of more specific types.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amount.h b/src/amount.h
index 0c49392d..887420f5 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -104,7 +104,7 @@ public:
* The number of places of precision by which values are extended to
* avoid losing precision during division and multiplication.
*/
- static const unsigned int extend_by_digits = 6U;
+ static const std::size_t extend_by_digits = 6U;
/**
* The current_pool is a static variable indicating which commodity
@@ -805,7 +805,7 @@ public:
void read(const char *& data,
char ** pool = NULL,
char ** pool_next = NULL);
- void write(std::ostream& out, unsigned int index = 0) const;
+ void write(std::ostream& out, std::size_t index = 0) const;
/*@}*/