diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 70cd670b126..03f14532791 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -2403,7 +2403,7 @@ Tktt_Repr(PyObject *self) } static PyObject * -Tktt_GetAttr(PyObject *self, const char *name) +Tktt_GetAttr(PyObject *self, char *name) { return Py_FindMethod(Tktt_methods, self, name); } @@ -2734,7 +2734,7 @@ Tkapp_Dealloc(PyObject *self) } static PyObject * -Tkapp_GetAttr(PyObject *self, const char *name) +Tkapp_GetAttr(PyObject *self, char *name) { return Py_FindMethod(Tkapp_methods, self, name); }