diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-11-20 22:01:18 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-11-20 22:01:18 (GMT) |
commit | 22e16ebcda77b8b03eae05cee3609c9c7c0e2df2 (patch) | |
tree | f8cfd817923cfbda94b237eb98480ac572491635 /plugins/pychrysa/analysis/db/items | |
parent | a6b32777986261e8254caeba49aeaaa0dd9d0c7f (diff) |
Fixed some types when parsing Python arguments.
Diffstat (limited to 'plugins/pychrysa/analysis/db/items')
-rw-r--r-- | plugins/pychrysa/analysis/db/items/comment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/analysis/db/items/comment.c b/plugins/pychrysa/analysis/db/items/comment.c index 1062cc9..28886f5 100644 --- a/plugins/pychrysa/analysis/db/items/comment.c +++ b/plugins/pychrysa/analysis/db/items/comment.c @@ -68,7 +68,7 @@ static PyObject *py_db_comment_new(PyTypeObject *type, PyObject *args, PyObject { PyObject *result; /* Instance à retourner */ PyObject *py_vmpa; /* Localisation version Python */ - char *text; /* Texte à associer */ + const char *text; /* Texte à associer */ int is_volatile; /* Conservation en mémoire */ int ret; /* Bilan de lecture des args. */ vmpa2t *addr; /* Localisation version C */ |