Fix compilation with Python 3

At least on my installation, the method PyUnicode_AsUFT8
return const char* rather than char*.
parent fcd1f23f
Pipeline #14194 passed with stage
in 56 minutes and 24 seconds
......@@ -335,7 +335,7 @@ class Reference
char* s = PyUnicode_AsUTF8(PyObject_Str(p_));
const char* s = PyUnicode_AsUTF8(PyObject_Str(p_));
char* s = PyString_AsString(PyObject_Str(p_));
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