Patch #508038: Do not use a type as a variable name.
This commit is contained in:
parent
b2c92f44d4
commit
a5854c24a2
|
@ -883,10 +883,10 @@ long_format(PyObject *aa, int base, int addL)
|
|||
accumbits += SHIFT;
|
||||
assert(accumbits >= basebits);
|
||||
do {
|
||||
char digit = (char)(accum & (base - 1));
|
||||
digit += (digit < 10) ? '0' : 'A'-10;
|
||||
char cdigit = (char)(accum & (base - 1));
|
||||
cdigit += (cdigit < 10) ? '0' : 'A'-10;
|
||||
assert(p > PyString_AS_STRING(str));
|
||||
*--p = digit;
|
||||
*--p = cdigit;
|
||||
accumbits -= basebits;
|
||||
accum >>= basebits;
|
||||
} while (i < size_a-1 ? accumbits >= basebits :
|
||||
|
|
Loading…
Reference in New Issue