summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index c13cb72..5717815 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -16,7 +16,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Shorthands to return certain errors */
static PyObject *
-type_error(char *msg)
+type_error(const char *msg)
{
PyErr_SetString(PyExc_TypeError, msg);
return NULL;