diff options
author | Guido van Rossum <guido@python.org> | 1997-05-09 02:17:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-09 02:17:12 (GMT) |
commit | db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30 (patch) | |
tree | edea952a4472318f8902733e79fe626600760014 /Modules/_cursesmodule.c | |
parent | 16dffdca1a6a98a9b44f6d0560e8a85c1018c4fb (diff) | |
download | cpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.zip cpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.tar.gz cpython-db4a629ba00e7d2c4dc48fa122aa0ea1ff303b30.tar.bz2 |
Avoid warning from gcc on Linux about dropping const.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 2 |
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; |