diff options
author | lloyd <[email protected]> | 2012-08-01 14:28:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-08-01 14:28:35 +0000 |
commit | cbefe4dd95982006e4d8391aea645e40baa17496 (patch) | |
tree | dccafc4a8ebd87d40a930dbd268fdcf449801208 /src/engine | |
parent | d23dffe70d1f0b2ef6bd18d1c490fff52b8b401c (diff) |
Remove BigInt::get_reg
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/gnump/gmp_wrap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/gnump/gmp_wrap.cpp b/src/engine/gnump/gmp_wrap.cpp index 22c46c7ad..9a5016d36 100644 --- a/src/engine/gnump/gmp_wrap.cpp +++ b/src/engine/gnump/gmp_wrap.cpp @@ -88,9 +88,9 @@ BigInt GMP_MPZ::to_bigint() const BigInt out(BigInt::Positive, (bytes() + sizeof(word) - 1) / sizeof(word)); size_t dummy = 0; - auto reg = out.get_reg(); + const word* reg = out.data(); - mpz_export(®[0], &dummy, -1, sizeof(word), 0, 0, value); + mpz_export(reg, &dummy, -1, sizeof(word), 0, 0, value); if(mpz_sgn(value) < 0) out.flip_sign(); |