summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 3cc6f13..bb02c9c 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1785,7 +1785,7 @@ k_lopsided_mul(PyLongObject *a, PyLongObject *b)
memset(ret->ob_digit, 0, ret->ob_size * sizeof(digit));
/* Successive slices of b are copied into bslice. */
- bslice = _PyLong_New(bsize);
+ bslice = _PyLong_New(asize);
if (bslice == NULL)
goto fail;