aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-08-19 17:24:59 +0000
committerlloyd <[email protected]>2013-08-19 17:24:59 +0000
commita70367f5a13ca65edd8e923afd525cfd3459697b (patch)
tree122d5d93be6d3a708b63902dd17c473d3886697b /src
parent186abc2c3b64fbad380da13a0bc85d404a3cb51b (diff)
Compile fix for gmp module
Diffstat (limited to 'src')
-rw-r--r--src/engine/gnump/gmp_wrap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/gnump/gmp_wrap.cpp b/src/engine/gnump/gmp_wrap.cpp
index 9a5016d36..974593d02 100644
--- a/src/engine/gnump/gmp_wrap.cpp
+++ b/src/engine/gnump/gmp_wrap.cpp
@@ -88,7 +88,7 @@ BigInt GMP_MPZ::to_bigint() const
BigInt out(BigInt::Positive, (bytes() + sizeof(word) - 1) / sizeof(word));
size_t dummy = 0;
- const word* reg = out.data();
+ word* reg = out.mutable_data();
mpz_export(reg, &dummy, -1, sizeof(word), 0, 0, value);