cpython: Issue #14744: Fix compilation on Windows (part 2)
http://hg.python.org/cpython/rev/df0144f68d76 changeset: 77231:df0144f68d76 user: Victor Stinner <victor.stinner@gmail.com> date: Tue May 29 18:53:56 2012 +0200 summary: Issue #14744: Fix compilation on Windows (part 2) files: Objects/unicodeobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c --- 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; -- Repository URL: http://hg.python.org/cpython
participants (1)
-
victor.stinner