summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gui
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/gui')
-rw-r--r--plugins/pychrysalide/gui/panels/panel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pychrysalide/gui/panels/panel.c b/plugins/pychrysalide/gui/panels/panel.c
index 1721780..37b682f 100644
--- a/plugins/pychrysalide/gui/panels/panel.c
+++ b/plugins/pychrysalide/gui/panels/panel.c
@@ -199,13 +199,13 @@ static bool py_panel_item_define_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, PIP_INVALID);
+ result &= PyDict_AddULongMacro(obj_type, PIP_INVALID);
- result &= PyDict_AddIntMacro(obj_type, PIP_SINGLETON);
- result &= PyDict_AddIntMacro(obj_type, PIP_BINARY_VIEW);
- result &= PyDict_AddIntMacro(obj_type, PIP_OTHER);
+ result &= PyDict_AddULongMacro(obj_type, PIP_SINGLETON);
+ result &= PyDict_AddULongMacro(obj_type, PIP_BINARY_VIEW);
+ result &= PyDict_AddULongMacro(obj_type, PIP_OTHER);
- result &= PyDict_AddIntMacro(obj_type, PIP_COUNT);
+ result &= PyDict_AddULongMacro(obj_type, PIP_COUNT);
return result;