bpo-37547: Fix a compiler warning in winconsoleio.c (GH-14785)
The compiler warning was introduced in
59ad110d7a
.
This commit is contained in:
parent
8f040b7a9f
commit
d395209653
|
@ -205,7 +205,7 @@ _io__WindowsConsoleIO_close_impl(winconsoleio *self)
|
|||
int rc;
|
||||
_Py_IDENTIFIER(close);
|
||||
res = _PyObject_CallMethodIdOneArg((PyObject*)&PyRawIOBase_Type,
|
||||
&PyId_close, self);
|
||||
&PyId_close, (PyObject*)self);
|
||||
if (!self->closehandle) {
|
||||
self->handle = INVALID_HANDLE_VALUE;
|
||||
return res;
|
||||
|
|
Loading…
Reference in New Issue