Skip to content

Commit bd3accd

Browse files
Silence some warnings.
1 parent 188d141 commit bd3accd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_threadmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,10 +1887,10 @@ static PyMethodDef thread_methods[] = {
18871887
METH_NOARGS, _set_sentinel_doc},
18881888
{"_excepthook", thread_excepthook,
18891889
METH_O, excepthook_doc},
1890-
{"_wait_for_threads_fini", thread__wait_for_threads_fini,
1890+
{"_wait_for_threads_fini", (PyCFunction)thread__wait_for_threads_fini,
18911891
METH_NOARGS, NULL},
18921892
#ifdef HAVE_FORK
1893-
{"_after_fork", thread__after_fork,
1893+
{"_after_fork", (PyCFunction)thread__after_fork,
18941894
METH_NOARGS, NULL},
18951895
#endif
18961896
{NULL, NULL} /* sentinel */

0 commit comments

Comments
 (0)