Commit d3952096 authored by Zackery Spytz's avatar Zackery Spytz Committed by Inada Naoki

bpo-37547: Fix a compiler warning in winconsoleio.c (GH-14785)

The compiler warning was introduced in
59ad110d.
parent 8f040b7a
...@@ -205,7 +205,7 @@ _io__WindowsConsoleIO_close_impl(winconsoleio *self) ...@@ -205,7 +205,7 @@ _io__WindowsConsoleIO_close_impl(winconsoleio *self)
int rc; int rc;
_Py_IDENTIFIER(close); _Py_IDENTIFIER(close);
res = _PyObject_CallMethodIdOneArg((PyObject*)&PyRawIOBase_Type, res = _PyObject_CallMethodIdOneArg((PyObject*)&PyRawIOBase_Type,
&PyId_close, self); &PyId_close, (PyObject*)self);
if (!self->closehandle) { if (!self->closehandle) {
self->handle = INVALID_HANDLE_VALUE; self->handle = INVALID_HANDLE_VALUE;
return res; return res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment