diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-13 21:09:15 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-13 21:09:15 (GMT) |
commit | f251d06a66dcadd4d64c6b4d2b3608f33c8a1868 (patch) | |
tree | b55db6efe30bd148cb21e78795e8658285d798d3 /Objects/longobject.c | |
parent | 05607ad4fdf7942bf178e1b6289901cd95dc7d8e (diff) | |
download | cpython-f251d06a66dcadd4d64c6b4d2b3608f33c8a1868.zip cpython-f251d06a66dcadd4d64c6b4d2b3608f33c8a1868.tar.gz cpython-f251d06a66dcadd4d64c6b4d2b3608f33c8a1868.tar.bz2 |
_PyLong_FromByteArray: changed decl of "carry" to match "thisbyte". No
semantic change, but a bit clearer and may help a really stupid compiler
avoid pointless runtime length conversions.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 44819701..93044ee 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -278,7 +278,7 @@ _PyLong_FromByteArray(const unsigned char* bytes, size_t n, 8-bit bytes and (probably) 15-bit Python digits.*/ { size_t i; - unsigned int carry = 1; /* for 2's-comp calculation */ + twodigits carry = 1; /* for 2's-comp calculation */ twodigits accum = 0; /* sliding register */ unsigned int accumbits = 0; /* number of bits in accum */ const unsigned char* p = pstartbyte; |