]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix compiler warning in Objects/unicodeobject.c (GH-17440)
authorPablo Galindo <Pablogsal@gmail.com>
Mon, 2 Dec 2019 18:09:43 +0000 (18:09 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Dec 2019 18:09:43 +0000 (18:09 +0000)
Objects/unicodeobject.c

index 77760195b32e79f110cdecb8c87b49146b0a23f5..1ec2accdb09f20293ef42f7cb747562397d2ea56 100644 (file)
@@ -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;
 }