From 16644455cf8a2cc91cbfb5e57e4ab4588b94246d Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Fri, 3 Oct 2008 15:20:30 +0000 Subject: Unify code between the various flavors of imsg buffer.c. Use unsigned int for msg_iovlen. ok henning@ claudio@ --- usr.sbin/ospfd/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospfd') diff --git a/usr.sbin/ospfd/buffer.c b/usr.sbin/ospfd/buffer.c index 636a8e519c6..3d5c69d6623 100644 --- a/usr.sbin/ospfd/buffer.c +++ b/usr.sbin/ospfd/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.8 2006/02/10 18:30:47 claudio Exp $ */ +/* $OpenBSD: buffer.c,v 1.9 2008/10/03 15:20:29 eric Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -157,7 +157,7 @@ msgbuf_write(struct msgbuf *msgbuf) { struct iovec iov[IOV_MAX]; struct buf *buf, *next; - int i = 0; + unsigned int i = 0; ssize_t n; struct msghdr msg; -- cgit v1.2.3