From a8041ac28118de1caef73bdac9567c9a7e25e41f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Sep 2017 23:43:44 +0300 Subject: Fix some issues with int64 to int32 implicit conversions. --- src/resources/db/unitsdb.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/resources/db/unitsdb.h') 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. -- cgit v1.2.3-70-g09d2