commit | 3a7d096f2f4339e07262fa0a73d14ea51cfd4533 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue May 29 18:53:56 2012 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue May 29 18:53:56 2012 +0200 |
tree | 93ef0e12d56df7e931d29f660da280d760048ac9 | |
parent | e577ab38ea5a242471d662e0dbeb0079dc8fb529 [diff] [blame] |
Issue #14744: Fix compilation on Windows (part 2)
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 @@ 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;