From 7386a70746cf9aaf2d95db75d9201fb124f085df Mon Sep 17 00:00:00 2001 From: Andy Lester Date: Thu, 13 Feb 2020 22:42:56 -0600 Subject: closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510) --- Python/codecs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/codecs.c') diff --git a/Python/codecs.c b/Python/codecs.c index ce86cb20cc..e5bcdb09fc 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -1407,7 +1407,7 @@ static PyObject *surrogateescape_errors(PyObject *self, PyObject *exc) static int _PyCodecRegistry_Init(void) { static struct { - char *name; + const char *name; PyMethodDef def; } methods[] = { -- cgit v1.2.1