1
0
Fork 0
forked from lthn/blockchain

crypto: gcc fixup 2

This commit is contained in:
sowle 2021-04-11 00:20:18 +03:00
parent fc82f572c2
commit c8386fc2db
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -224,7 +224,7 @@ struct alignas(32) scalar_t
}
// copy at most 32 bytes and reduce
scalar_t(const boost::multiprecision::cpp_int &bigint)
explicit scalar_t(const boost::multiprecision::cpp_int &bigint)
{
zero();
unsigned int bytes_to_copy = bigint.backend().size() * bigint.backend().limb_bits / 8;