summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2019-10-07 12:01:54 (GMT)
committerGitHub <noreply@github.com>2019-10-07 12:01:54 (GMT)
commit303475e87372aacb17990802538e440735a69525 (patch)
tree264c37cf849fc81b000f6c6d0d680bb795191fc9 /Modules/selectmodule.c
parent038503e08ac5b10601b95d5adc2c2cab7be10163 (diff)
downloadcpython-303475e87372aacb17990802538e440735a69525.zip
cpython-303475e87372aacb17990802538e440735a69525.tar.gz
cpython-303475e87372aacb17990802538e440735a69525.tar.bz2
Fix a compile warning in selectmodule.c. (GH-16617)
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 98da7d5..79cc1b2 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -2362,7 +2362,7 @@ static PyMethodDef kqueue_queue_methods[] = {
static PyType_Slot kqueue_queue_Type_slots[] = {
{Py_tp_dealloc, kqueue_queue_dealloc},
- {Py_tp_doc, select_kqueue__doc__},
+ {Py_tp_doc, (void*)select_kqueue__doc__},
{Py_tp_getset, kqueue_queue_getsetlist},
{Py_tp_methods, kqueue_queue_methods},
{Py_tp_new, select_kqueue},