Skip to content

Commit dbc8a65

Browse files
committed
Add missing cast
1 parent d5565a8 commit dbc8a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9046,7 +9046,7 @@ charmap_encoding_error(
90469046
Py_DECREF(repunicode);
90479047
return -1;
90489048
}
9049-
memcpy(PyBytesWriter_GetData(writer) + *respos,
9049+
memcpy((char*)PyBytesWriter_GetData(writer) + *respos,
90509050
PyBytes_AsString(repunicode), repsize);
90519051
*respos += repsize;
90529052
*inpos = newpos;

0 commit comments

Comments
 (0)