mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
fixes for unsigned/signed comparison
This commit is contained in:
parent
0883b3d5fc
commit
507c4ccea6
@ -130,7 +130,7 @@ static void uv_poll_ex(int block) {
|
||||
uv_req_t* req;
|
||||
OVERLAPPED_ENTRY overlappeds[64];
|
||||
ULONG count;
|
||||
int i;
|
||||
ULONG i;
|
||||
|
||||
if (block) {
|
||||
timeout = uv_get_poll_timeout();
|
||||
|
@ -124,7 +124,7 @@ static void pinger_shutdown_cb(uv_shutdown_t* req, int status) {
|
||||
|
||||
|
||||
static void pinger_read_cb(uv_stream_t* tcp, ssize_t nread, uv_buf_t buf) {
|
||||
unsigned int i;
|
||||
ssize_t i;
|
||||
pinger_t* pinger;
|
||||
|
||||
pinger = (pinger_t*)tcp->data;
|
||||
|
@ -94,7 +94,7 @@ static void pinger_write_ping(pinger_t* pinger) {
|
||||
|
||||
|
||||
static void pinger_read_cb(uv_stream_t* stream, ssize_t nread, uv_buf_t buf) {
|
||||
unsigned int i;
|
||||
ssize_t i;
|
||||
pinger_t* pinger;
|
||||
|
||||
pinger = (pinger_t*)stream->data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user