From 72af01aac6ccf6b7b3407e0e6c5f4e11ff101d92 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 23 Oct 2001 22:29:06 +0000 Subject: Added missing cast. --- Modules/zlibmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 9555740..2df7f6f 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -527,7 +527,7 @@ PyZlib_objdecompress(compobject *self, PyObject *args) of specified size. Return the unconsumed tail in an attribute.*/ if(max_length) { Py_DECREF(self->unconsumed_tail); - self->unconsumed_tail = PyString_FromStringAndSize(self->zst.next_in, + self->unconsumed_tail = PyString_FromStringAndSize((char *)self->zst.next_in, self->zst.avail_in); if(!self->unconsumed_tail) { Py_DECREF(RetVal); -- cgit v0.12