Skip to content

Commit a6a252a

Browse files
author
pilkibun
committed
CLN: fix build warning
1 parent 160b55d commit a6a252a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_libs/hashtable.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cdef class StringHashTable(HashTable):
4141

4242
cdef struct Int64VectorData:
4343
int64_t *data
44-
size_t n, m
44+
ssize_t n, m
4545

4646
cdef class Int64Vector:
4747
cdef Int64VectorData *data

pandas/_libs/hashtable.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cdef int64_t NPY_NAT = util.get_nat()
4444
_SIZE_HINT_LIMIT = (1 << 20) + 7
4545

4646

47-
cdef size_t _INIT_VEC_CAP = 128
47+
cdef ssize_t _INIT_VEC_CAP = 128
4848

4949
include "hashtable_class_helper.pxi"
5050
include "hashtable_func_helper.pxi"

0 commit comments

Comments
 (0)