diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-15 11:15:54 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-15 11:15:54 (GMT) |
commit | 5d1e3438cde1d93db84f941c2226f14806c3b8b6 (patch) | |
tree | d2d129cd2d0208e0df46e903de59fa46f2701a00 /Python | |
parent | d449a8ad875c89ebf97a5ca56756f13329187366 (diff) | |
download | cpython-5d1e3438cde1d93db84f941c2226f14806c3b8b6.zip cpython-5d1e3438cde1d93db84f941c2226f14806c3b8b6.tar.gz cpython-5d1e3438cde1d93db84f941c2226f14806c3b8b6.tar.bz2 |
Mark _Py_char2wchar() input argument as constant
Diffstat (limited to 'Python')
-rw-r--r-- | Python/fileutils.c | 2 |
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 |