Fix compiler warning in Objects/unicodeobject.c (GH-17440)

This commit is contained in:
Pablo Galindo 2019-12-02 18:09:43 +00:00 committed by GitHub
parent 34864d1cff
commit 016b0280b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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;
}