mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #14744: Fix compilation on Windows (part 2)
This commit is contained in:
parent
e577ab38ea
commit
3a7d096f2f
1 changed files with 1 additions and 1 deletions
|
@ -13229,7 +13229,7 @@ formatfloat(PyObject *v, int flags, int prec, int type,
|
||||||
if (writer) {
|
if (writer) {
|
||||||
if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
|
if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
|
||||||
return -1;
|
return -1;
|
||||||
memcpy(writer->data + writer->pos * writer->kind,
|
memcpy((char*)writer->data + writer->pos * writer->kind,
|
||||||
p,
|
p,
|
||||||
len);
|
len);
|
||||||
writer->pos += len;
|
writer->pos += len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue