summaryrefslogtreecommitdiff
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 11:15:54 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 11:15:54 +0000
commita22d3119013a15abc89aa99a47eaa0e168feb857 (patch)
tree5310ec4ced1aa582d45f6b208088a7df0afbef98 /Python/fileutils.c
parent69b69472aff196b67b367c758dadff4b5536202c (diff)
downloadcpython-a22d3119013a15abc89aa99a47eaa0e168feb857.tar.gz
Mark _Py_char2wchar() input argument as constant
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 564e2c085b..076f510deb 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