summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
Diffstat (limited to 'arith.c')
-rw-r--r--arith.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arith.c b/arith.c
index 1c3c33ce..5eb022ec 100644
--- a/arith.c
+++ b/arith.c
@@ -62,6 +62,7 @@ static val make_ubignum(void)
{
val n = make_obj();
n->bn.type = BGNUM;
+ mp_init_minimal(&n->bn.mp);
return n;
}