bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c
index 9f9fbeb..319dc52 100644
--- a/Modules/cjkcodecs/multibytecodec.c
+++ b/Modules/cjkcodecs/multibytecodec.c
@@ -1246,7 +1246,7 @@
PyObject *buffer;
PyLongObject *statelong;
Py_ssize_t buffersize;
- char *bufferstr;
+ const char *bufferstr;
unsigned char statebytes[8];
if (!PyArg_ParseTuple(state, "SO!;setstate(): illegal state argument",