summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format/format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-12-13 21:53:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-12-13 21:53:43 (GMT)
commitccf90bf696a0852ef34ac2a86137b34e92827ec0 (patch)
treed43c65faf4316d8a55d67c74f363f3f4371068cd /plugins/pychrysalide/format/format.c
parent0c6e15aa59918b7d3a1e63258e3f6792266d62e0 (diff)
Renamed the function registering C constant values into Python objects.
Diffstat (limited to 'plugins/pychrysalide/format/format.c')
-rw-r--r--plugins/pychrysalide/format/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/format/format.c b/plugins/pychrysalide/format/format.c
index 154bef3..2affeba 100644
--- a/plugins/pychrysalide/format/format.c
+++ b/plugins/pychrysalide/format/format.c
@@ -614,8 +614,8 @@ static bool define_python_binary_format_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, BFE_SPECIFICATION);
- result &= PyDict_AddIntMacro(obj_type, BFE_STRUCTURE);
+ result &= PyDict_AddULongMacro(obj_type, BFE_SPECIFICATION);
+ result &= PyDict_AddULongMacro(obj_type, BFE_STRUCTURE);
return result;