summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-25 22:20:39 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-25 22:20:39 (GMT)
commite72bab381247650fa59d725d209121652b09ea5f (patch)
treec7cf73b53987e0d3cda2744c9864d35ecb6aaa37 /Objects/longobject.c
parent30595e4a274abc5f2574edd0361f7de2cc90c39a (diff)
downloadcpython-e72bab381247650fa59d725d209121652b09ea5f.zip
cpython-e72bab381247650fa59d725d209121652b09ea5f.tar.gz
cpython-e72bab381247650fa59d725d209121652b09ea5f.tar.bz2
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. ........
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 4cf80c0..f19425d 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -547,7 +547,7 @@ _PyLong_AsByteArray(PyLongObject* v,
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 */