diff netio.c @ 1120:391bb7d560c6

Merge branch 'fix-pointer-sign-warnings' into fix-warnings
author Gaël PORTAY <gael.portay@gmail.com>
date Tue, 05 May 2015 20:42:38 +0200
parents c45d65392c1a
children bb3a03feb31f
line wrap: on
line diff
--- a/netio.c	Sat May 02 16:02:22 2015 +0200
+++ b/netio.c	Tue May 05 20:42:38 2015 +0200
@@ -100,7 +100,7 @@
 
 		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;