From: Pablo Galindo Date: Mon, 2 Dec 2019 18:09:43 +0000 (+0000) Subject: Fix compiler warning in Objects/unicodeobject.c (GH-17440) X-Git-Tag: v3.9.0a2~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4;p=thirdparty%2FPython%2Fcpython.git Fix compiler warning in Objects/unicodeobject.c (GH-17440) --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 77760195b32e..1ec2accdb09f 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -15950,7 +15950,7 @@ _PyUnicode_Fini(PyThreadState *tstate) interp->fs_codec.encoding = NULL; PyMem_RawFree(interp->fs_codec.errors); interp->fs_codec.errors = NULL; - interp->config.filesystem_errors = _Py_ERROR_UNKNOWN; + interp->config.filesystem_errors = (wchar_t *)_Py_ERROR_UNKNOWN; }