Page MenuHomePhabricator

Fix the util_tests.cpp build on OSX
ClosedPublic

Authored by Fabien on Apr 15 2022, 07:49.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCc11a3542e8ee: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable