Commit a5854c24 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #508038: Do not use a type as a variable name.

parent b2c92f44
......@@ -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 :
......
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