Kaydet (Commit) e9aa5950 authored tarafından Victor Stinner's avatar Victor Stinner

Fix compilation error in _PyBytesWriter_WriteBytes() on Windows

üst 6c2cdae9
......@@ -4042,9 +4042,11 @@ _PyBytesWriter_Finish(_PyBytesWriter *writer, void *str)
}
void*
_PyBytesWriter_WriteBytes(_PyBytesWriter *writer, void *str,
_PyBytesWriter_WriteBytes(_PyBytesWriter *writer, void *ptr,
const void *bytes, Py_ssize_t size)
{
char *str = (char *)ptr;
str = _PyBytesWriter_Prepare(writer, str, size);
if (str == NULL)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment