summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/format/symbol.c')
-rw-r--r--plugins/pychrysalide/format/symbol.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index f75f762..c948423 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -339,19 +339,19 @@ static bool py_binary_symbol_define_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, STP_DATA);
- result &= PyDict_AddIntMacro(obj_type, STP_ROUTINE);
- result &= PyDict_AddIntMacro(obj_type, STP_CODE_LABEL);
- result &= PyDict_AddIntMacro(obj_type, STP_OBJECT);
- result &= PyDict_AddIntMacro(obj_type, STP_ENTRY_POINT);
- result &= PyDict_AddIntMacro(obj_type, STP_RO_STRING);
- result &= PyDict_AddIntMacro(obj_type, STP_DYN_STRING);
- result &= PyDict_AddIntMacro(obj_type, STP_COUNT);
-
- result &= PyDict_AddIntMacro(obj_type, SSS_INTERNAL);
- result &= PyDict_AddIntMacro(obj_type, SSS_EXPORTED);
- result &= PyDict_AddIntMacro(obj_type, SSS_IMPORTED);
- result &= PyDict_AddIntMacro(obj_type, SSS_DYNAMIC);
+ result &= PyDict_AddULongMacro(obj_type, STP_DATA);
+ result &= PyDict_AddULongMacro(obj_type, STP_ROUTINE);
+ result &= PyDict_AddULongMacro(obj_type, STP_CODE_LABEL);
+ result &= PyDict_AddULongMacro(obj_type, STP_OBJECT);
+ result &= PyDict_AddULongMacro(obj_type, STP_ENTRY_POINT);
+ result &= PyDict_AddULongMacro(obj_type, STP_RO_STRING);
+ result &= PyDict_AddULongMacro(obj_type, STP_DYN_STRING);
+ result &= PyDict_AddULongMacro(obj_type, STP_COUNT);
+
+ result &= PyDict_AddULongMacro(obj_type, SSS_INTERNAL);
+ result &= PyDict_AddULongMacro(obj_type, SSS_EXPORTED);
+ result &= PyDict_AddULongMacro(obj_type, SSS_IMPORTED);
+ result &= PyDict_AddULongMacro(obj_type, SSS_DYNAMIC);
return result;