Added missing cast.

This commit is contained in:
Jack Jansen 2001-10-23 22:29:06 +00:00
parent e54968a11a
commit 72af01aac6
1 changed files with 1 additions and 1 deletions

View File

@ -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);