We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0451c31 commit f2c8b0eCopy full SHA for f2c8b0e
pandas/io/sas/sas.pyx
@@ -77,7 +77,7 @@ cdef int rle_decompress(Buffer inbuff, Buffer outbuff) except? 0:
77
ipos += 1
78
elif control_byte == 0x40:
79
# not documented
80
- nbytes = (inbuff[ipos] & 0xFF) + 18 + end_of_first_byte * 256
+ nbytes = <int>(buf_get(inbuff, ipos)) + 18 + end_of_first_byte * 256
81
82
for _ in range(nbytes):
83
buf_set(outbuff, rpos, buf_get(inbuff, ipos))
0 commit comments