mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
Fix C89 incompatibility.
This commit is contained in:
parent
b09af03b8a
commit
8ba79306d1
1 changed files with 1 additions and 1 deletions
|
@ -613,9 +613,9 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
|
|||
outp = PyUnicode_1BYTE_DATA(res);
|
||||
/* generate replacement */
|
||||
for (i = start, o = 0; i < end; ++i) {
|
||||
ch = PyUnicode_READ_CHAR(object, i);
|
||||
int digits;
|
||||
int base;
|
||||
ch = PyUnicode_READ_CHAR(object, i);
|
||||
*outp++ = '&';
|
||||
*outp++ = '#';
|
||||
if (ch<10) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue