Avoid warning from gcc on Linux about dropping const.

This commit is contained in:
Guido van Rossum 1997-05-09 02:17:12 +00:00
parent 16dffdca1a
commit db4a629ba0
1 changed files with 1 additions and 1 deletions

View File

@ -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;