Kaydet (Commit) e3b10f4c authored tarafından Skip Montanaro's avatar Skip Montanaro

One char->Py_UNICODE change missed in r56777 - according to Adam Hupp this is the change to make...

üst 4626458c
......@@ -169,14 +169,14 @@ get_string(PyObject *str)
}
static PyObject *
get_nullchar_as_None(char c)
get_nullchar_as_None(Py_UNICODE c)
{
if (c == '\0') {
Py_INCREF(Py_None);
return Py_None;
}
else
return PyUnicode_DecodeASCII((char*)&c, 1, NULL);
return PyUnicode_FromUnicode((Py_UNICODE *)&c, 1);
}
static PyObject *
......
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