diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-02-16 23:39:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-02-16 23:39:10 (GMT) |
commit | a5854c24a2319a599e57e40cd759b421f781fccd (patch) | |
tree | dad3b9a2ae11591989b50b808432620ccd6654b7 /Objects/longobject.c | |
parent | b2c92f44d4572615b14671a5b3d0cace1c2b1511 (diff) | |
download | cpython-a5854c24a2319a599e57e40cd759b421f781fccd.zip cpython-a5854c24a2319a599e57e40cd759b421f781fccd.tar.gz cpython-a5854c24a2319a599e57e40cd759b421f781fccd.tar.bz2 |
Patch #508038: Do not use a type as a variable name.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 899c940..5b7a00a 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -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 : |