summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-01-24 17:50:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-01-24 17:51:11 (GMT)
commit304445ae3f7a159be55fa91b95428251ef8a362e (patch)
treeaa923090096e5d93a03ac262651d1fc622e7a60d /plugins/pychrysalide
parentf4c12b7fdc0482461f5c52161ea852c9d152cc4e (diff)
Improved the support of some unusual endiannesses.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/arch/vmpa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/pychrysalide/arch/vmpa.c b/plugins/pychrysalide/arch/vmpa.c
index 413d67b..41fb1ad 100644
--- a/plugins/pychrysalide/arch/vmpa.c
+++ b/plugins/pychrysalide/arch/vmpa.c
@@ -554,7 +554,8 @@ static bool py_vmpa_define_constants(PyTypeObject *obj_type)
/* TODO : à bouger vers base ? */
result &= PyDict_AddIntMacro(obj_type, SRE_LITTLE);
- result &= PyDict_AddIntMacro(obj_type, SRE_MIDDLE);
+ result &= PyDict_AddIntMacro(obj_type, SRE_LITTLE_WORD);
+ result &= PyDict_AddIntMacro(obj_type, SRE_BIG_WORD);
result &= PyDict_AddIntMacro(obj_type, SRE_BIG);
return result;