_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:
parent
05607ad4fd
commit
f251d06a66
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user