summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-03-20 23:33:19 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-03-20 23:33:19 (GMT)
commitb47fac4329347f83c4b3c28914114659aeffbcd7 (patch)
tree1fd5207fee630f96a4db68dacfbfbb2ca3d057a7 /Objects
parentb7cf4370871dbb4904c74f8afb07e1d2bf38fc7e (diff)
downloadcpython-b47fac4329347f83c4b3c28914114659aeffbcd7.zip
cpython-b47fac4329347f83c4b3c28914114659aeffbcd7.tar.gz
cpython-b47fac4329347f83c4b3c28914114659aeffbcd7.tar.bz2
PyLong_BASE_TWODIGITS_TYPE should be BASE_TWODIGITS_TYPE
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index d49752f..eb9579c 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1871,7 +1871,7 @@ x_divrem(PyLongObject *v1, PyLongObject *w1, PyLongObject **prem)
carry += v->ob_digit[i+k] - z
+ ((twodigits)zz << PyLong_SHIFT);
v->ob_digit[i+k] = (digit)(carry & PyLong_MASK);
- carry = Py_ARITHMETIC_RIGHT_SHIFT(PyLong_BASE_TWODIGITS_TYPE,
+ carry = Py_ARITHMETIC_RIGHT_SHIFT(BASE_TWODIGITS_TYPE,
carry, PyLong_SHIFT);
carry -= zz;
}
@@ -1891,7 +1891,7 @@ x_divrem(PyLongObject *v1, PyLongObject *w1, PyLongObject **prem)
carry += v->ob_digit[i+k] + w->ob_digit[i];
v->ob_digit[i+k] = (digit)(carry & PyLong_MASK);
carry = Py_ARITHMETIC_RIGHT_SHIFT(
- PyLong_BASE_TWODIGITS_TYPE,
+ BASE_TWODIGITS_TYPE,
carry, PyLong_SHIFT);
}
}