From 016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 2 Dec 2019 18:09:43 +0000 Subject: Fix compiler warning in Objects/unicodeobject.c (GH-17440) --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 7776019..1ec2acc 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; } -- cgit v0.12