Avoid warning from gcc on Linux about dropping const.
This commit is contained in:
parent
16dffdca1a
commit
db4a629ba0
|
@ -1466,7 +1466,7 @@ PyCurses_KeyName(self,arg)
|
||||||
PyObject * self;
|
PyObject * self;
|
||||||
PyObject * arg;
|
PyObject * arg;
|
||||||
{
|
{
|
||||||
char *knp;
|
const char *knp;
|
||||||
int ch;
|
int ch;
|
||||||
if (!PyArg_Parse(arg,"i",&ch))
|
if (!PyArg_Parse(arg,"i",&ch))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue