summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/arch/instruction.c')
-rw-r--r--plugins/pychrysalide/arch/instruction.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/pychrysalide/arch/instruction.c b/plugins/pychrysalide/arch/instruction.c
index 6399d63..ce554ee 100644
--- a/plugins/pychrysalide/arch/instruction.c
+++ b/plugins/pychrysalide/arch/instruction.c
@@ -443,15 +443,15 @@ static bool py_arch_instruction_define_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, ILT_EXEC_FLOW);
- result &= PyDict_AddIntMacro(obj_type, ILT_JUMP);
- result &= PyDict_AddIntMacro(obj_type, ILT_CASE_JUMP);
- result &= PyDict_AddIntMacro(obj_type, ILT_JUMP_IF_TRUE);
- result &= PyDict_AddIntMacro(obj_type, ILT_JUMP_IF_FALSE);
- result &= PyDict_AddIntMacro(obj_type, ILT_LOOP);
- result &= PyDict_AddIntMacro(obj_type, ILT_CALL);
- result &= PyDict_AddIntMacro(obj_type, ILT_CATCH_EXCEPTION);
- result &= PyDict_AddIntMacro(obj_type, ILT_REF);
+ result &= PyDict_AddULongMacro(obj_type, ILT_EXEC_FLOW);
+ result &= PyDict_AddULongMacro(obj_type, ILT_JUMP);
+ result &= PyDict_AddULongMacro(obj_type, ILT_CASE_JUMP);
+ result &= PyDict_AddULongMacro(obj_type, ILT_JUMP_IF_TRUE);
+ result &= PyDict_AddULongMacro(obj_type, ILT_JUMP_IF_FALSE);
+ result &= PyDict_AddULongMacro(obj_type, ILT_LOOP);
+ result &= PyDict_AddULongMacro(obj_type, ILT_CALL);
+ result &= PyDict_AddULongMacro(obj_type, ILT_CATCH_EXCEPTION);
+ result &= PyDict_AddULongMacro(obj_type, ILT_REF);
return result;