summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/fileutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c
index 564e2c0..076f510 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -17,7 +17,7 @@
PyMem_Free() to free the memory), or NULL on error (conversion error or
memory error). */
wchar_t*
-_Py_char2wchar(char* arg)
+_Py_char2wchar(const char* arg)
{
wchar_t *res;
#ifdef HAVE_BROKEN_MBSTOWCS