author | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-04-04 05:41:42 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-04-04 05:48:13 UTC |
parent | 1ee54b0c2e244ddcba943208bb19ddb66ece2b60 |
bindings/python/libjio.c | +3 | -3 |
diff --git a/bindings/python/libjio.c b/bindings/python/libjio.c index 46b257d..b75ba98 100644 --- a/bindings/python/libjio.c +++ b/bindings/python/libjio.c @@ -279,7 +279,7 @@ static PyObject *jf_write(jfile_object *fp, PyObject *args) { long rv; unsigned char *buf; - int len; + ssize_t len; if (!PyArg_ParseTuple(args, "s#:write", &buf, &len)) return NULL; @@ -307,7 +307,7 @@ static PyObject *jf_pwrite(jfile_object *fp, PyObject *args) long rv; unsigned char *buf; long long offset; - int len; + ssize_t len; if (!PyArg_ParseTuple(args, "s#L:pwrite", &buf, &len, &offset)) return NULL; @@ -659,7 +659,7 @@ It's a wrapper to jtrans_add_w().\n"); static PyObject *jt_add_w(jtrans_object *tp, PyObject *args) { long rv; - int len; + ssize_t len; long long offset; unsigned char *buf;