File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ cdef class UVProcess(UVHandle):
204
204
cdef char ** __to_cstring_array(self , list arr):
205
205
cdef:
206
206
int i
207
- int arr_len = len (arr)
207
+ ssize_t arr_len = len (arr)
208
208
bytes el
209
209
210
210
char ** ret
Original file line number Diff line number Diff line change @@ -2312,7 +2312,7 @@ cdef class Loop:
2312
2312
"""
2313
2313
cdef:
2314
2314
Handle handle
2315
- int n
2315
+ ssize_t n
2316
2316
2317
2317
if self ._debug and sock.gettimeout() != 0 :
2318
2318
raise ValueError (" the socket must be non-blocking" )
Original file line number Diff line number Diff line change 23
23
str _SHUTDOWN = " SHUTDOWN"
24
24
25
25
26
- cdef int READ_MAX_SIZE = 256 * 1024
26
+ cdef ssize_t READ_MAX_SIZE = 256 * 1024
27
27
28
28
29
29
@cython.no_gc_clear
You can’t perform that action at this time.
0 commit comments