summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-20 22:01:18 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-20 22:01:18 (GMT)
commit22e16ebcda77b8b03eae05cee3609c9c7c0e2df2 (patch)
treef8cfd817923cfbda94b237eb98480ac572491635 /plugins/pychrysa/format
parenta6b32777986261e8254caeba49aeaaa0dd9d0c7f (diff)
Fixed some types when parsing Python arguments.
Diffstat (limited to 'plugins/pychrysa/format')
-rw-r--r--plugins/pychrysa/format/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/format/format.c b/plugins/pychrysa/format/format.c
index 41dab9d..aed9664 100644
--- a/plugins/pychrysa/format/format.c
+++ b/plugins/pychrysa/format/format.c
@@ -580,7 +580,7 @@ static PyObject *py_binary_format_add_error(PyObject *self, PyObject *args)
{
BinaryFormatError type; /* Type d'erreur détectée */
vmpa2t addr; /* Position d'une erreur */
- char *desc; /* Description d'une erreur */
+ const char *desc; /* Description d'une erreur */
int ret; /* Bilan de lecture des args. */
GBinFormat *format; /* Format binaire manipulé */