summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index de1a93c..a60d3ef 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -1634,7 +1634,7 @@ PyFile_WriteObject(PyObject *v, PyObject *f, int flags)
}
int
-PyFile_WriteString(char *s, PyObject *f)
+PyFile_WriteString(const char *s, PyObject *f)
{
if (f == NULL) {
/* Should be caused by a pre-existing error */