From 5d1e3438cde1d93db84f941c2226f14806c3b8b6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 15 Oct 2010 11:15:54 +0000 Subject: Mark _Py_char2wchar() input argument as constant --- Python/fileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/fileutils.c') 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 -- cgit v1.2.1