summaryrefslogtreecommitdiff
path: root/Modules/_curses_panel.c
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2016-08-03 18:49:46 -0400
committerDonald Stufft <donald@stufft.io>2016-08-03 18:49:46 -0400
commitb29410c8a7c4d9c397e5d3ab81d482afe326aa76 (patch)
treeeb94bd0c67ce75e2707349e8d8661efc5d43e067 /Modules/_curses_panel.c
parentadcdafbaa36e35866086e221ad2faf836ffa42a8 (diff)
parent159bfc93c510d53f9a4b80ecb487ff8235396cc0 (diff)
downloadcpython-b29410c8a7c4d9c397e5d3ab81d482afe326aa76.tar.gz
Merge 3.5
Diffstat (limited to 'Modules/_curses_panel.c')
-rw-r--r--Modules/_curses_panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c
index 228f4971ac..18ef335b82 100644
--- a/Modules/_curses_panel.c
+++ b/Modules/_curses_panel.c
@@ -6,7 +6,7 @@
/* Release Number */
-static char *PyCursesVersion = "2.1";
+static const char PyCursesVersion[] = "2.1";
/* Includes */
@@ -56,7 +56,7 @@ static struct PyModuleDef _curses_panelmodule;
*/
static PyObject *
-PyCursesCheckERR(int code, char *fname)
+PyCursesCheckERR(int code, const char *fname)
{
if (code != ERR) {
Py_INCREF(Py_None);