summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-09-16 18:56:20 +0000
committerpjd <pjd@FreeBSD.org>2004-09-16 18:56:20 +0000
commitfd329e76c33bebfdbcc97da625ee528e9aa72026 (patch)
tree9dd2c7b3e137f0592816a3acb12175488e8816a2 /sys/dev/md
parent0719fee61b2c32a9ae3e1380ba92eda2c0edb43a (diff)
downloadFreeBSD-src-fd329e76c33bebfdbcc97da625ee528e9aa72026.zip
FreeBSD-src-fd329e76c33bebfdbcc97da625ee528e9aa72026.tar.gz
Type 'int' is too small for 'i' and 'lastp' variables. Use proper type,
which is vm_pindex_t (unsigned 64bit on i386).
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 6b46e4b..803356f 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -524,8 +524,8 @@ static int
mdstart_swap(struct md_s *sc, struct bio *bp)
{
struct sf_buf *sf;
- int i, rv;
- int offs, len, lastp, lastend;
+ int rv, offs, len, lastend;
+ vm_pindex_t i, lastp;
vm_page_t m;
u_char *p;
OpenPOWER on IntegriCloud