summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/zlibmodule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index fd6c0b7..8f3202d 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -197,10 +197,11 @@ PyZlib_decompress(PyObject *self, PyObject *args)
PyObject *result_str;
Byte *input;
int length, err;
- int wsize=DEF_WBITS, r_strlen=DEFAULTALLOC;
+ int wsize=DEF_WBITS;
+ Py_ssize_t r_strlen=DEFAULTALLOC;
z_stream zst;
- if (!PyArg_ParseTuple(args, "s#|ii:decompress",
+ if (!PyArg_ParseTuple(args, "s#|in:decompress",
&input, &length, &wsize, &r_strlen))
return NULL;