From: Tomas Mlcoch Date: Wed, 3 Jul 2013 10:55:47 +0000 (+0200) Subject: python: In parsing args of write method of CrFile use int for length instead of Py_ss... X-Git-Tag: upstream/0.2.1~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13c7a5796521e0c761c42e4af82df20d49b05d5c;p=services%2Fcreaterepo_c.git python: In parsing args of write method of CrFile use int for length instead of Py_ssize_t. --- diff --git a/src/python/compression_wrapper-py.c b/src/python/compression_wrapper-py.c index f261377..4971159 100644 --- a/src/python/compression_wrapper-py.c +++ b/src/python/compression_wrapper-py.c @@ -196,7 +196,7 @@ static PyObject * py_write(_CrFileObject *self, PyObject *args) { char *str; - Py_ssize_t len; + int len; GError *tmp_err = NULL; if (!PyArg_ParseTuple(args, "s#:set_num_of_pkgs", &str, &len))