diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2008-10-03 15:20:30 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2008-10-03 15:20:30 +0000 |
commit | 16644455cf8a2cc91cbfb5e57e4ab4588b94246d (patch) | |
tree | 221c2b40239b00ca5cd6b1583661d6505fbc1dbf /usr.sbin/ospfd | |
parent | 9bae92f720d85bb27dece953647f82292e7cda7c (diff) |
Unify code between the various flavors of imsg buffer.c.
Use unsigned int for msg_iovlen.
ok henning@ claudio@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r-- | usr.sbin/ospfd/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <henning@openbsd.org> @@ -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; |