[Python-checkins] Fix compiler warning in Objects/unicodeobject.c (GH-17440)
Pablo Galindo
webhook-mailer at python.org
Mon Dec 2 13:09:51 EST 2019
https://github.com/python/cpython/commit/016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4
commit: 016b0280b8a97bc26e97c6a8dd5fb8fad5fe72e4
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: GitHub <noreply at github.com>
date: 2019-12-02T18:09:43Z
summary:
Fix compiler warning in Objects/unicodeobject.c (GH-17440)
files:
M Objects/unicodeobject.c
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 77760195b32e7..1ec2accdb09f2 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;
}
More information about the Python-checkins
mailing list