[Python-checkins] r70493 - python/branches/release26-maint/Objects/longobject.c

mark.dickinson python-checkins at python.org
Sat Mar 21 00:33:19 CET 2009


Author: mark.dickinson
Date: Sat Mar 21 00:33:19 2009
New Revision: 70493

Log:
PyLong_BASE_TWODIGITS_TYPE should be BASE_TWODIGITS_TYPE


Modified:
   python/branches/release26-maint/Objects/longobject.c

Modified: python/branches/release26-maint/Objects/longobject.c
==============================================================================
--- python/branches/release26-maint/Objects/longobject.c	(original)
+++ python/branches/release26-maint/Objects/longobject.c	Sat Mar 21 00:33:19 2009
@@ -1871,7 +1871,7 @@
 			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 @@
 				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);
 			}
 		}


More information about the Python-checkins mailing list