explicitly cast away constness to silence compiler warning
This commit is contained in:
parent
5130a4d5d7
commit
1bb0c0bd30
|
@ -1063,7 +1063,7 @@ done:
|
|||
Py_XDECREF(readlinestate_global->endidx);
|
||||
readlinestate_global->begidx = PyLong_FromLong((long) start);
|
||||
readlinestate_global->endidx = PyLong_FromLong((long) end);
|
||||
result = completion_matches(text, *on_completion);
|
||||
result = completion_matches((char *)text, *on_completion);
|
||||
#ifdef WITH_THREAD
|
||||
PyGILState_Release(gilstate);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue