diff options
author | lloyd <[email protected]> | 2010-10-13 16:06:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 16:06:11 +0000 |
commit | 18d3acffbe2324a90c505cf23ff17c1392c3be4d (patch) | |
tree | 5a7f99e16dbf7cc59015bc94220174075755289a /src/engine/gnump/gmp_wrap.h | |
parent | 12617c8a0942a5af35ffe72891f3cd63c8b7fe18 (diff) |
More size_t
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(); }; |