Skip to content

Commit fe544e1

Browse files
committed
fix
1 parent f79d421 commit fe544e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/unicode_writer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ _PyUnicodeWriter_WriteASCIIString(_PyUnicodeWriter *writer,
495495
const Py_UCS1 *str = (const Py_UCS1 *)ascii;
496496
Py_UCS1 *data = writer->data;
497497

498-
memmove(data + writer->pos, str, len);
498+
memcpy(data + writer->pos, str, len);
499499
break;
500500
}
501501
case PyUnicode_2BYTE_KIND:

0 commit comments

Comments
 (0)