Skip to content

Commit 8350d04

Browse files
committed
Fix ssize_t type
1 parent 4e5f856 commit 8350d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sas/sas.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def get_subheader_index(bytes signature):
240240
cdef:
241241
uint32_t sig32
242242
uint64_t sig64
243-
size_t i
243+
Py_ssize_t i
244244
assert len(signature) in (4, 8)
245245
if len(signature) == 4:
246246
sig32 = (<uint32_t *><char *>signature)[0]

0 commit comments

Comments
 (0)