Skip to content

Commit 016b028

Browse files
authored
Fix compiler warning in Objects/unicodeobject.c (GH-17440)
1 parent 34864d1 commit 016b028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15950,7 +15950,7 @@ _PyUnicode_Fini(PyThreadState *tstate)
1595015950
interp->fs_codec.encoding = NULL;
1595115951
PyMem_RawFree(interp->fs_codec.errors);
1595215952
interp->fs_codec.errors = NULL;
15953-
interp->config.filesystem_errors = _Py_ERROR_UNKNOWN;
15953+
interp->config.filesystem_errors = (wchar_t *)_Py_ERROR_UNKNOWN;
1595415954
}
1595515955

1595615956

0 commit comments

Comments
 (0)