summaryrefslogtreecommitdiffstats
path: root/Modules/_operator.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_operator.c')
-rw-r--r--Modules/_operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_operator.c b/Modules/_operator.c
index fdc3176..739ae5b 100644
--- a/Modules/_operator.c
+++ b/Modules/_operator.c
@@ -893,7 +893,7 @@ PyDoc_STRVAR(_operator_call__doc__,
"Same as obj(*args, **kwargs).");
#define _OPERATOR_CALL_METHODDEF \
- {"call", (PyCFunction)(void(*)(void))_operator_call, METH_FASTCALL | METH_KEYWORDS, _operator_call__doc__},
+ {"call", _PyCFunction_CAST(_operator_call), METH_FASTCALL | METH_KEYWORDS, _operator_call__doc__},
static PyObject *
_operator_call(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)