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 * arg;
|
||||
{
|
||||
char *knp;
|
||||
const char *knp;
|
||||
int ch;
|
||||
if (!PyArg_Parse(arg,"i",&ch))
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue