Mercurial > dropbear
diff netio.c @ 1121:bb3a03feb31f
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Jun 2015 22:25:28 +0800 |
parents | 2265d7ebfdeb c45d65392c1a |
children | a7c4a70ae495 |
line wrap: on
line diff
--- a/netio.c Wed Jun 03 22:59:59 2015 +0800 +++ b/netio.c Thu Jun 04 22:25:28 2015 +0800 @@ -99,7 +99,7 @@ message.msg_name = r->ai_addr; message.msg_namelen = r->ai_addrlen; /* 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;