summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/analysis/binary.c')
-rw-r--r--plugins/pychrysalide/analysis/binary.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/binary.c b/plugins/pychrysalide/analysis/binary.c
index e97bea6..eb71a62 100644
--- a/plugins/pychrysalide/analysis/binary.c
+++ b/plugins/pychrysalide/analysis/binary.c
@@ -127,7 +127,7 @@ static PyObject *py_loaded_binary_new(PyTypeObject *type, PyObject *args, PyObje
static PyObject *py_loaded_binary_get_client(PyObject *self, PyObject *args)
{
PyObject *result; /* Bilan à retourner */
- bool internal; /* Nature du client visé */
+ int internal; /* Nature du client visé */
int ret; /* Bilan de lecture des args. */
GLoadedBinary *binary; /* Binaire en cours d'analyse */
GHubClient *client; /* Eventuel client en place */
@@ -140,6 +140,8 @@ static PyObject *py_loaded_binary_get_client(PyObject *self, PyObject *args)
" if defined, or return None otherwise.\n" \
)
+ internal = 1;
+
ret = PyArg_ParseTuple(args, "|p", &internal);
if (!ret) return NULL;