summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/analysis/binaries
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/analysis/binaries')
-rw-r--r--plugins/pychrysa/analysis/binaries/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/analysis/binaries/file.c b/plugins/pychrysa/analysis/binaries/file.c
index e5cc2f1..6bf553b 100644
--- a/plugins/pychrysa/analysis/binaries/file.c
+++ b/plugins/pychrysa/analysis/binaries/file.c
@@ -155,7 +155,7 @@ PyTypeObject *get_python_binary_file_type(void)
* *
* Paramètres : module = module dont la définition est à compléter. *
* *
-* Description : Prend en charge l'objet 'pychrysalide.analysis.LoadedBinary'.*
+* Description : Prend en charge l'objet 'pychrysalide.analysis.BinaryFile'. *
* *
* Retour : Bilan de l'opération. *
* *
@@ -174,7 +174,7 @@ bool register_python_binary_file(PyObject *module)
py_binary_file_type->tp_base = get_python_loaded_binary_type();
py_binary_file_type->tp_basicsize = py_binary_file_type->tp_base->tp_basicsize;
- if (PyType_Ready(py_binary_file_type) < 0)
+ if (PyType_Ready(py_binary_file_type) != 0)
return false;
Py_INCREF(py_binary_file_type);