Skip to content

Commit f2c8b0e

Browse files
authored
Update sas.pyx
1 parent 0451c31 commit f2c8b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sas/sas.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ cdef int rle_decompress(Buffer inbuff, Buffer outbuff) except? 0:
7777
ipos += 1
7878
elif control_byte == 0x40:
7979
# not documented
80-
nbytes = (inbuff[ipos] & 0xFF) + 18 + end_of_first_byte * 256
80+
nbytes = <int>(buf_get(inbuff, ipos)) + 18 + end_of_first_byte * 256
8181
ipos += 1
8282
for _ in range(nbytes):
8383
buf_set(outbuff, rpos, buf_get(inbuff, ipos))

0 commit comments

Comments
 (0)