aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/big_rand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/bigint/big_rand.cpp')
-rw-r--r--src/math/bigint/big_rand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/bigint/big_rand.cpp b/src/math/bigint/big_rand.cpp
index 29fdf1de6..7cddb2de0 100644
--- a/src/math/bigint/big_rand.cpp
+++ b/src/math/bigint/big_rand.cpp
@@ -13,7 +13,7 @@ namespace Botan {
/*
* Construct a BigInt of a specific form
*/
-BigInt::BigInt(NumberType type, u32bit bits)
+BigInt::BigInt(NumberType type, size_t bits)
{
set_sign(Positive);
@@ -27,7 +27,7 @@ BigInt::BigInt(NumberType type, u32bit bits)
* Randomize this number
*/
void BigInt::randomize(RandomNumberGenerator& rng,
- u32bit bitsize)
+ size_t bitsize)
{
set_sign(Positive);