diff options
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r-- | plugins/pychrysalide/format/symbol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c index 962c627..7de534c 100644 --- a/plugins/pychrysalide/format/symbol.c +++ b/plugins/pychrysalide/format/symbol.c @@ -243,8 +243,8 @@ static char *g_binary_symbol_get_label_wrapper(const GBinSymbol *symbol) static int py_binary_symbol_init(PyObject *self, PyObject *args, PyObject *kwds) { - SymbolType stype; /* Type prévu pour le symbole */ mrange_t range; /* Version native d'un espace */ + unsigned long stype; /* Type prévu pour le symbole */ int ret; /* Bilan de lecture des args. */ GBinSymbol *symbol; /* Version GLib du symble */ @@ -265,7 +265,7 @@ static int py_binary_symbol_init(PyObject *self, PyObject *args, PyObject *kwds) /* Récupération des paramètres */ - ret = PyArg_ParseTuple(args, "kO&", &stype, convert_any_to_mrange, &range); + ret = PyArg_ParseTuple(args, "O&k", convert_any_to_mrange, &range, &stype); if (!ret) return -1; if (stype >= STP_COUNT) |