summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-09 02:17:12 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-09 02:17:12 (GMT)
commitdb4a629ba00e7d2c4dc48fa122aa0ea1ff303b30 (patch)
treeedea952a4472318f8902733e79fe626600760014 /Modules
parent16dffdca1a6a98a9b44f6d0560e8a85c1018c4fb (diff)
downloadcpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.zip
cpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.tar.gz
cpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.tar.bz2
Avoid warning from gcc on Linux about dropping const.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 2786854..8e85256 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -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;