mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #14744: Fix compilation on Windows
This commit is contained in:
parent
026ba312d4
commit
e577ab38ea
1 changed files with 2 additions and 2 deletions
|
|
@ -1687,8 +1687,8 @@ long_to_decimal_string_internal(PyObject *aa,
|
|||
WRITE_DIGITS(Py_UCS2);
|
||||
}
|
||||
else {
|
||||
assert (kind == PyUnicode_4BYTE_KIND);
|
||||
Py_UCS4 *p;
|
||||
assert (kind == PyUnicode_4BYTE_KIND);
|
||||
WRITE_DIGITS(Py_UCS4);
|
||||
}
|
||||
#undef WRITE_DIGITS
|
||||
|
|
@ -1845,8 +1845,8 @@ long_format_binary(PyObject *aa, int base, int alternate,
|
|||
WRITE_DIGITS(Py_UCS2);
|
||||
}
|
||||
else {
|
||||
assert (kind == PyUnicode_4BYTE_KIND);
|
||||
Py_UCS4 *p;
|
||||
assert (kind == PyUnicode_4BYTE_KIND);
|
||||
WRITE_DIGITS(Py_UCS4);
|
||||
}
|
||||
#undef WRITE_DIGITS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue