Added the const qualifier for char* argument of Py_EnterRecursiveCall().

This commit is contained in:
Serhiy Storchaka 2015-06-21 16:27:09 +03:00
commit 289dd19124
3 changed files with 3 additions and 3 deletions

View file

@ -712,7 +712,7 @@ Py_SetRecursionLimit(int new_limit)
to guarantee that _Py_CheckRecursiveCall() is regularly called.
Without USE_STACKCHECK, there is no need for this. */
int
_Py_CheckRecursiveCall(char *where)
_Py_CheckRecursiveCall(const char *where)
{
PyThreadState *tstate = PyThreadState_GET();