Commit 1bb0c0bd authored by Benjamin Peterson's avatar Benjamin Peterson

explicitly cast away constness to silence compiler warning

parent 5130a4d5
......@@ -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
......
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