Commit e577ab38 authored by Victor Stinner's avatar Victor Stinner

Issue #14744: Fix compilation on Windows

parent 026ba312
......@@ -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
......
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