summaryrefslogtreecommitdiffstats
path: root/PC/_winreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r--PC/_winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c
index a20b09a..34e4f68 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -455,7 +455,7 @@ static PyNumberMethods PyHKEY_NumberMethods =
/* fwd declare __getattr__ */
-static PyObject *PyHKEY_getattr(PyObject *self, char *name);
+static PyObject *PyHKEY_getattr(PyObject *self, const char *name);
/* The type itself */
PyTypeObject PyHKEY_Type =
@@ -526,7 +526,7 @@ static struct PyMethodDef PyHKEY_methods[] = {
};
/*static*/ PyObject *
-PyHKEY_getattr(PyObject *self, char *name)
+PyHKEY_getattr(PyObject *self, const char *name)
{
PyObject *res;