merge 3.5

This commit is contained in:
Benjamin Peterson 2016-09-05 18:26:26 -07:00
commit 9d1e4a54f7
1 changed files with 1 additions and 1 deletions

View File

@ -1080,7 +1080,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