summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/loadedpanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/glibext/loadedpanel.c')
-rw-r--r--plugins/pychrysalide/glibext/loadedpanel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/pychrysalide/glibext/loadedpanel.c b/plugins/pychrysalide/glibext/loadedpanel.c
index 4dfb5c2..ce94b27 100644
--- a/plugins/pychrysalide/glibext/loadedpanel.c
+++ b/plugins/pychrysalide/glibext/loadedpanel.c
@@ -160,10 +160,10 @@ static bool py_loaded_panel_define_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, SPT_RAW);
- result &= PyDict_AddIntMacro(obj_type, SPT_TOP);
- result &= PyDict_AddIntMacro(obj_type, SPT_CENTER);
- result &= PyDict_AddIntMacro(obj_type, SPT_BOTTOM);
+ result &= PyDict_AddULongMacro(obj_type, SPT_RAW);
+ result &= PyDict_AddULongMacro(obj_type, SPT_TOP);
+ result &= PyDict_AddULongMacro(obj_type, SPT_CENTER);
+ result &= PyDict_AddULongMacro(obj_type, SPT_BOTTOM);
return result;