Skip to content

Commit

Permalink
bpo-37547: Fix a compiler warning in winconsoleio.c (pythonGH-14785)
Browse files Browse the repository at this point in the history
The compiler warning was introduced in
59ad110.
  • Loading branch information
ZackerySpytz authored and lisroach committed Sep 9, 2019
1 parent b3df4f9 commit 3713e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_io/winconsoleio.c
Expand Up @@ -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;
Expand Down

0 comments on commit 3713e4b

Please sign in to comment.