summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/analysis/contents/memory.c2
-rw-r--r--plugins/yaml/python/reader.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/analysis/contents/memory.c b/plugins/pychrysalide/analysis/contents/memory.c
index 4782445..e0ab267 100644
--- a/plugins/pychrysalide/analysis/contents/memory.c
+++ b/plugins/pychrysalide/analysis/contents/memory.c
@@ -61,7 +61,7 @@ static PyObject *py_memory_content_new(PyTypeObject *type, PyObject *args, PyObj
{
PyObject *result; /* Instance à retourner */
const char *data; /* Tampon interne de Python */
- int length; /* Taille utilisé de ce tampon */
+ Py_ssize_t length; /* Taille utilisé de ce tampon */
int ret; /* Bilan de lecture des args. */
GBinContent *content; /* Version GLib du contenu */
diff --git a/plugins/yaml/python/reader.c b/plugins/yaml/python/reader.c
index f80623f..74fd2b3 100644
--- a/plugins/yaml/python/reader.c
+++ b/plugins/yaml/python/reader.c
@@ -73,7 +73,7 @@ static PyObject *py_yaml_reader_new_from_content(PyObject *self, PyObject *args)
{
PyObject *result; /* Instance à retourner */
const char *content; /* Contenu brut au format Yaml */
- int length; /* Taille de ce contenu */
+ Py_ssize_t length; /* Taille de ce contenu */
int ret; /* Bilan de lecture des args. */
GYamlReader *reader; /* Création GLib à transmettre */