_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.
This commit is contained in:
Tim Peters 2001-06-13 21:09:15 +00:00
parent 05607ad4fd
commit f251d06a66

View File

@ -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;