summaryrefslogtreecommitdiffstats
path: root/Modules/_io
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-07-19 06:07:06 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-07-19 06:07:06 (GMT)
commitd3952096537d9d2706e10af0c0596daeee6a58c9 (patch)
treec47677485ac47dda56bbf6a32ca1aac4db47c7d1 /Modules/_io
parent8f040b7a9f442e7c2605ef1cad9c6b5eb7dd7af7 (diff)
downloadcpython-d3952096537d9d2706e10af0c0596daeee6a58c9.zip
cpython-d3952096537d9d2706e10af0c0596daeee6a58c9.tar.gz
cpython-d3952096537d9d2706e10af0c0596daeee6a58c9.tar.bz2
bpo-37547: Fix a compiler warning in winconsoleio.c (GH-14785)
The compiler warning was introduced in 59ad110d7a7784d53d0b502eebce0346597a6bef.
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/winconsoleio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/winconsoleio.c b/Modules/_io/winconsoleio.c
index f27a6dc..94760ac 100644
--- a/Modules/_io/winconsoleio.c
+++ b/Modules/_io/winconsoleio.c
@@ -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;