diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-27 23:43:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-27 23:43:44 +0300 |
commit | a8041ac28118de1caef73bdac9567c9a7e25e41f (patch) | |
tree | f5c9842626b0ebeb6328566fbd1f0a424fb9af47 /src/resources/db/unitsdb.h | |
parent | f70dcfe0a82db3aee879953f117d12aecc4fce85 (diff) | |
download | mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.gz mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.bz2 mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.xz mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.zip |
Fix some issues with int64 to int32 implicit conversions.
Diffstat (limited to 'src/resources/db/unitsdb.h')
-rw-r--r-- | src/resources/db/unitsdb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/resources/db/unitsdb.h b/src/resources/db/unitsdb.h index 0681567c0..859adaabc 100644 --- a/src/resources/db/unitsdb.h +++ b/src/resources/db/unitsdb.h @@ -46,11 +46,16 @@ namespace UnitsDb */ std::string formatCurrency(const int value) A_WARN_UNUSED; + std::string formatCurrency64(const int64_t value) A_WARN_UNUSED; + /** * Formats the given number in the correct currency format. */ std::string formatCurrency(std::string name, - const int value) A_WARN_UNUSED; + const int value) A_WARN_UNUSED; + + std::string formatCurrency64(std::string name, + const int64_t value) A_WARN_UNUSED; /** * Formats the given number in the correct weight/mass format. |