diff options
Diffstat (limited to 'src/lib/math/bigint/big_rand.cpp')
-rw-r--r-- | src/lib/math/bigint/big_rand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/bigint/big_rand.cpp b/src/lib/math/bigint/big_rand.cpp index 7a843acd5..ab66c6cdd 100644 --- a/src/lib/math/bigint/big_rand.cpp +++ b/src/lib/math/bigint/big_rand.cpp @@ -27,7 +27,7 @@ void BigInt::randomize(RandomNumberGenerator& rng, if(bitsize % 8) array[0] &= 0xFF >> (8 - (bitsize % 8)); array[0] |= 0x80 >> ((bitsize % 8) ? (8 - bitsize % 8) : 0); - binary_decode(&array[0], array.size()); + binary_decode(array.data(), array.size()); } } |