mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Added missing cast.
This commit is contained in:
parent
e54968a11a
commit
72af01aac6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue