Page MenuHomePhabricator

Fix the build on some platforms by using an explicit cast for Univalue type
ClosedPublic

Authored by Fabien on Mar 22 2022, 20:10.

Details

Summary

It appears that std::vector::size_type is not implicitely convertible to uint64_t or int64_t on on platforms , so cast it explicitely.

Test Plan
./contrib/teamcity/build-configurations.py build-linux32
./contrib/teamcity/build-configurations.py build-native-osx

Diff Detail

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