mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Avoid warning from gcc on Linux about dropping const.
This commit is contained in:
parent
16dffdca1a
commit
db4a629ba0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue