Commit 0efdb76f authored by Lisandro Dalcin's avatar Lisandro Dalcin

add explicit cast to avoid GCC warnings with -Wwrite-strings

parent 63fa4ef3
...@@ -5118,8 +5118,8 @@ impl = r""" ...@@ -5118,8 +5118,8 @@ impl = r"""
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr) { static int __Pyx_GetVtable(PyObject *dict, void *vtabptr) {
int result; int result;
PyObject *pycobj; PyObject *pycobj;
pycobj = PyMapping_GetItemString(dict, "__pyx_vtable__"); pycobj = PyMapping_GetItemString(dict, (char *)"__pyx_vtable__");
if (!pycobj) if (!pycobj)
goto bad; goto bad;
*(void **)vtabptr = PyCObject_AsVoidPtr(pycobj); *(void **)vtabptr = PyCObject_AsVoidPtr(pycobj);
......
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