From 224b16b2470ab764e854eb4a7cdd568353655afc Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Sat, 2 May 2015 15:59:06 +0200 Subject: Fix pointer differ in signess warnings [-Werror=pointer-sign] --- netio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netio.c') diff --git a/netio.c b/netio.c index 16a0d3a..af34a14 100644 --- a/netio.c +++ b/netio.c @@ -100,7 +100,7 @@ static void connect_try_next(struct dropbear_progress_connection *c) { if (c->writequeue) { /* 6 is arbitrary, enough to hold initial packets */ - int iovlen = 6; /* Linux msg_iovlen is a size_t */ + unsigned int iovlen = 6; /* Linux msg_iovlen is a size_t */ struct iovec iov[6]; packet_queue_to_iovec(c->writequeue, iov, &iovlen); message.msg_iov = iov; -- cgit v1.2.3