summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-12-02 18:09:43 (GMT)
committerGitHub <noreply@github.com>2019-12-02 18:09:43 (GMT)
commit016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4 (patch)
treecfd10537fbec8b6c17f875bc5dcbb223546030a1 /Objects
parent34864d1cffdbfc620f8517dab9a68ae9a37b8c53 (diff)
downloadcpython-016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4.zip
cpython-016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4.tar.gz
cpython-016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4.tar.bz2
Fix compiler warning in Objects/unicodeobject.c (GH-17440)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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;
}