Skip to content

Commit d395209

Browse files
ZackerySpytzmethane
authored andcommitted
bpo-37547: Fix a compiler warning in winconsoleio.c (GH-14785)
The compiler warning was introduced in 59ad110.
1 parent 8f040b7 commit d395209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/winconsoleio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ _io__WindowsConsoleIO_close_impl(winconsoleio *self)
205205
int rc;
206206
_Py_IDENTIFIER(close);
207207
res = _PyObject_CallMethodIdOneArg((PyObject*)&PyRawIOBase_Type,
208-
&PyId_close, self);
208+
&PyId_close, (PyObject*)self);
209209
if (!self->closehandle) {
210210
self->handle = INVALID_HANDLE_VALUE;
211211
return res;

0 commit comments

Comments
 (0)