Skip to content

Commit 073c55a

Browse files
committed
streams: Fix a compiler warning
1 parent a3caa19 commit 073c55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvloop/handles/stream.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ cdef class UVStream(UVBaseTransport):
215215
if written > 0:
216216
self._loop._debug_stream_write_tries += 1
217217

218-
if written == uv_buf.len:
218+
if written == <int>uv_buf.len:
219219
return 0
220220

221221
return written

0 commit comments

Comments
 (0)