diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-05-29 16:53:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-05-29 16:53:56 (GMT) |
commit | 3a7d096f2f4339e07262fa0a73d14ea51cfd4533 (patch) | |
tree | 93ef0e12d56df7e931d29f660da280d760048ac9 | |
parent | e577ab38ea5a242471d662e0dbeb0079dc8fb529 (diff) | |
download | cpython-3a7d096f2f4339e07262fa0a73d14ea51cfd4533.zip cpython-3a7d096f2f4339e07262fa0a73d14ea51cfd4533.tar.gz cpython-3a7d096f2f4339e07262fa0a73d14ea51cfd4533.tar.bz2 |
Issue #14744: Fix compilation on Windows (part 2)
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 00bfff2..874e80e 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; |