diff options
Diffstat (limited to 'src/engine/gnump/gmp_wrap.h')
-rw-r--r-- | src/engine/gnump/gmp_wrap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h index 52d130d6b..fc7aa856e 100644 --- a/src/engine/gnump/gmp_wrap.h +++ b/src/engine/gnump/gmp_wrap.h @@ -22,8 +22,8 @@ class GMP_MPZ mpz_t value; BigInt to_bigint() const; - void encode(byte[], u32bit) const; - u32bit bytes() const; + void encode(byte[], size_t) const; + size_t bytes() const; SecureVector<byte> to_bytes() const { return BigInt::encode(to_bigint()); } @@ -32,7 +32,7 @@ class GMP_MPZ GMP_MPZ(const GMP_MPZ&); GMP_MPZ(const BigInt& = 0); - GMP_MPZ(const byte[], u32bit); + GMP_MPZ(const byte[], size_t); ~GMP_MPZ(); }; |