Skip to content

Commit 82aef99

Browse files
committed
Make sure wbits is an int
1 parent 3cd7b22 commit 82aef99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/isal_zlib.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ cdef class Decompress:
417417
cdef inflate_state stream
418418
cdef bint method_set
419419

420-
def __cinit__(self, wbits=ISAL_DEF_MAX_HIST_BITS, zdict = None):
420+
def __cinit__(self, int wbits=ISAL_DEF_MAX_HIST_BITS, zdict = None):
421421
isal_inflate_init(&self.stream)
422422

423423
wbits_to_flag_and_hist_bits_inflate(wbits,

0 commit comments

Comments
 (0)