diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-02 18:09:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 18:09:43 +0000 |
commit | 016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4 (patch) | |
tree | cfd10537fbec8b6c17f875bc5dcbb223546030a1 | |
parent | 34864d1cffdbfc620f8517dab9a68ae9a37b8c53 (diff) | |
download | cpython-git-016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4.tar.gz |
Fix compiler warning in Objects/unicodeobject.c (GH-17440)
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 77760195b3..1ec2accdb0 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; } |