Commit 3a7d096f authored by Victor Stinner's avatar Victor Stinner

Issue #14744: Fix compilation on Windows (part 2)

parent e577ab38
......@@ -13229,7 +13229,7 @@ formatfloat(PyObject *v, int flags, int prec, int type,
if (writer) {
if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
return -1;
memcpy(writer->data + writer->pos * writer->kind,
memcpy((char*)writer->data + writer->pos * writer->kind,
p,
len);
writer->pos += len;
......
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