summaryrefslogtreecommitdiff
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
commitef1585eb9a488ae8ce3ff057f43a7048b941cc1c (patch)
treefbbdc44ba78d84a31d5fc0bf1679870ec4f32f77 /Modules/_pickle.c
parent2d06e8445587d9b4d0bf79bdb08ab4743b780249 (diff)
downloadcpython-git-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.gz
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 487b533625..9d36346ef6 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2187,7 +2187,7 @@ error:
}
static int
-write_utf8(PicklerObject *self, char *data, Py_ssize_t size)
+write_utf8(PicklerObject *self, const char *data, Py_ssize_t size)
{
char header[9];
Py_ssize_t len;