summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/pychrysalide/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h
index d30a307..4ffb447 100644
--- a/plugins/pychrysalide/helpers.h
+++ b/plugins/pychrysalide/helpers.h
@@ -85,7 +85,7 @@ bool register_python_module_object(PyObject *, PyTypeObject *);
#define PYTHON_METHOD_DEF(name, args, flags, base, doc) \
{ \
- #name, base ## _ ## name, \
+ #name, (PyCFunction)base ## _ ## name, \
flags, \
#name "(" args ")\n--\n\n" doc \
}