diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:23:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:23:57 -0400 |
commit | 05c77351e458c08873c813264005f61f828b5383 (patch) | |
tree | fa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/amount.h | |
parent | 119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff) | |
download | fork-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.h | 4 |
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; /*@}*/ |