--- zlibmodule.c.orig 2007-11-02 11:09:11.166754000 +0100 +++ zlibmodule.c 2007-11-02 10:54:52.739318000 +0100 @@ -197,7 +197,8 @@ 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",