diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-10-23 22:29:06 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-10-23 22:29:06 (GMT) |
commit | 72af01aac6ccf6b7b3407e0e6c5f4e11ff101d92 (patch) | |
tree | 182ccae47ee59c791afda2737e201eb2749311bc /Modules/zlibmodule.c | |
parent | e54968a11a5d95461aefc2abf0384635d9813798 (diff) | |
download | cpython-72af01aac6ccf6b7b3407e0e6c5f4e11ff101d92.zip cpython-72af01aac6ccf6b7b3407e0e6c5f4e11ff101d92.tar.gz cpython-72af01aac6ccf6b7b3407e0e6c5f4e11ff101d92.tar.bz2 |
Added missing cast.
Diffstat (limited to 'Modules/zlibmodule.c')
-rw-r--r-- | Modules/zlibmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |