HomePhabricator

Fix the util_tests.cpp build on OSX

Description

Fix the util_tests.cpp build on OSX

Summary: The osx compiler is confused with the Amount multiplication operator. Should it be int or int64_t ? Let's hint the compiler with a good'ol cast.

Test Plan:
On OSX:

ninja check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D11362

Details

Provenance
FabienAuthored on Apr 15 2022, 07:20
FabienPushed on Apr 15 2022, 10:59
Reviewer
Restricted Project
Differential Revision
D11362: Fix the util_tests.cpp build on OSX
Parents
rABC764e6c6ff197: Fix a bug in ParseMoney that prevents from parsing large numbers
Branches
Unknown
Tags
Unknown