summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r--Python/fileutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c
index 6345553..19ead9d 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -1452,7 +1452,7 @@ _Py_fopen_obj(PyObject *path, const char *mode)
&& errno == EINTR && !(async_err = PyErr_CheckSignals()));
#else
PyObject *bytes;
- char *path_bytes;
+ const char *path_bytes;
assert(PyGILState_Check());