Commit f251d06a authored by Tim Peters's avatar Tim Peters

_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.
parent 05607ad4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment