diff options
Diffstat (limited to 'src/math/bigint/bigint.h')
-rw-r--r-- | src/math/bigint/bigint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/bigint/bigint.h b/src/math/bigint/bigint.h index 9ce71aeca..cd6997698 100644 --- a/src/math/bigint/bigint.h +++ b/src/math/bigint/bigint.h @@ -291,7 +291,7 @@ class BOTAN_DLL BigInt */ u32bit sig_words() const { - const word* x = reg.begin(); + const word* x = ®[0]; u32bit sig = reg.size(); while(sig && (x[sig-1] == 0)) @@ -316,7 +316,7 @@ class BOTAN_DLL BigInt * @result a pointer to the start of the internal register of * the integer value */ - const word* data() const { return reg.begin(); } + const word* data() const { return ®[0]; } /** * return a reference to the internal register containing the value |