--- Modules/zlibmodule.c 22 Apr 2009 08:54:19 -0000 1.1.1.1 +++ Modules/zlibmodule.c 7 May 2010 07:57:03 -0000 @@ -392,7 +392,8 @@ static PyObject * PyZlib_objcompress(compobject *self, PyObject *args) { - int err, inplen, length = DEFAULTALLOC; + int err, inplen; + Py_ssize_t length = DEFAULTALLOC; PyObject *RetVal; Byte *input; unsigned long start_total_out; @@ -461,7 +462,8 @@ static PyObject * PyZlib_objdecompress(compobject *self, PyObject *args) { - int err, inplen, old_length, length = DEFAULTALLOC; + int err, inplen; + Py_ssize_t old_length, length = DEFAULTALLOC; int max_length = 0; PyObject *RetVal; Byte *input;