diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-24 20:18:08 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-24 20:18:08 +0000 |
commit | b4217b109ee1f085b067654cd7be47124556b30d (patch) | |
tree | c40973fa6741eeb76a63755010b71c86cf2e43ce | |
parent | fcc051bda8caa3cd777f21fd7fd47e47b27f4dad (diff) |
The index should be unsigned int -- another lint finding
-rw-r--r-- | usr.sbin/ripd/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/buffer.c b/usr.sbin/ripd/buffer.c index 645f8588ff3..5ee360faa74 100644 --- a/usr.sbin/ripd/buffer.c +++ b/usr.sbin/ripd/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */ +/* $OpenBSD: buffer.c,v 1.2 2007/10/24 20:18:07 claudio 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; |