diff options
Diffstat (limited to 'src/protocol/pair/pair_v1.c')
| -rw-r--r-- | src/protocol/pair/pair_v1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/pair/pair_v1.c b/src/protocol/pair/pair_v1.c index ea8c1226..812617f1 100644 --- a/src/protocol/pair/pair_v1.c +++ b/src/protocol/pair/pair_v1.c @@ -224,7 +224,7 @@ pair1_pipe_recv_cb(void *arg) // If we bounced too many times, discard the message, but // keep getting more. - if (hdr >= s->ttl) { + if (hdr >= (unsigned) s->ttl) { nni_msg_free(msg); nni_pipe_recv(npipe, &p->aio_recv); return; @@ -309,7 +309,6 @@ pair1_pipe_getq_cb(void *arg) pair1_sock *s = p->psock; nni_msg * msg; uint32_t hops; - uint8_t * data; if (nni_aio_result(&p->aio_getq) != 0) { nni_pipe_stop(p->npipe); |
