diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2022-09-22 21:09:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2022-09-22 21:09:49 (GMT) |
commit | 430aad874900f525c67a5aa5de9e6012a64ff603 (patch) | |
tree | caed7f7ee23290e44ca06c56baa7e9d7c60dff6b /plugins/yaml | |
parent | 735effa6ee2ebd22bf6421da71ed9aa541980130 (diff) |
Fix runtime Python warnings for all # variants of formats.
Diffstat (limited to 'plugins/yaml')
-rw-r--r-- | plugins/yaml/python/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |