[Python-checkins] r68949 - in python/branches/py3k: Objects/longobject.c
mark.dickinson
python-checkins at python.org
Sun Jan 25 23:25:06 CET 2009
Author: mark.dickinson
Date: Sun Jan 25 23:25:06 2009
New Revision: 68949
Log:
Merged revisions 68947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68947 | mark.dickinson | 2009-01-25 22:12:31 +0000 (Sun, 25 Jan 2009) | 3 lines
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Objects/longobject.c
Modified: python/branches/py3k/Objects/longobject.c
==============================================================================
--- python/branches/py3k/Objects/longobject.c (original)
+++ python/branches/py3k/Objects/longobject.c Sun Jan 25 23:25:06 2009
@@ -776,7 +776,7 @@
twodigits accum; /* sliding register */
unsigned int accumbits; /* # bits in accum */
int do_twos_comp; /* store 2's-comp? is_signed and v < 0 */
- twodigits carry; /* for computing 2's-comp */
+ digit carry; /* for computing 2's-comp */
size_t j; /* # bytes filled */
unsigned char* p; /* pointer to next byte in bytes */
int pincr; /* direction to move p */
More information about the Python-checkins
mailing list