diff options
Diffstat (limited to 'Python/context.c')
-rw-r--r-- | Python/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/context.c b/Python/context.c index 302f769..d6ef5b3 100644 --- a/Python/context.c +++ b/Python/context.c @@ -648,7 +648,7 @@ static PyMethodDef PyContext_methods[] = { _CONTEXTVARS_CONTEXT_KEYS_METHODDEF _CONTEXTVARS_CONTEXT_VALUES_METHODDEF _CONTEXTVARS_CONTEXT_COPY_METHODDEF - {"run", (PyCFunction)context_run, METH_FASTCALL | METH_KEYWORDS, NULL}, + {"run", (PyCFunction)(void(*)(void))context_run, METH_FASTCALL | METH_KEYWORDS, NULL}, {NULL, NULL} }; |