diff options
author | 2007-10-24 20:18:07 +0000 | |
---|---|---|
committer | 2007-10-24 20:18:07 +0000 | |
commit | e41d124d445f2f78db11a10033e7ad9d30c24c5d (patch) | |
tree | a5c4c0f7ea18c6ba567cdbec4484ea62b50b37a1 | |
parent | ctl_rt flags should be u_int16_t -- noticed by lint (diff) | |
download | wireguard-openbsd-e41d124d445f2f78db11a10033e7ad9d30c24c5d.tar.xz wireguard-openbsd-e41d124d445f2f78db11a10033e7ad9d30c24c5d.zip |
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; |