summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/helpers.h')
-rw-r--r--plugins/pychrysalide/helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h
index 9f02daa..c31c7ad 100644
--- a/plugins/pychrysalide/helpers.h
+++ b/plugins/pychrysalide/helpers.h
@@ -47,13 +47,13 @@ PyObject *_run_python_method(PyObject *, PyObject *);
PyObject *run_python_method(PyObject *, const char *, PyObject *);
/* Ajoute une constante au dictionnaire d'un type Python donné. */
-bool PyDict_AddIntConstant(PyTypeObject *, const char *, long);
+bool PyDict_AddULongConstant(PyTypeObject *, const char *, unsigned long);
/* Ajoute une constante au dictionnaire d'un type Python donné. */
bool PyDict_AddStringConstant(PyTypeObject *, const char *, const char *);
-#define PyDict_AddIntMacro(tp, c) PyDict_AddIntConstant(tp, #c, c)
+#define PyDict_AddULongMacro(tp, c) PyDict_AddULongConstant(tp, #c, c)
#define PyDict_AddStringMacro(tp, c) PyDict_AddStringConstant(tp, #c, c)