From 6ab0a0aefe748622e49c43022d9b5c00df39e154 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 16 Sep 2004 18:56:20 +0000 Subject: [PATCH] Type 'int' is too small for 'i' and 'lastp' variables. Use proper type, which is vm_pindex_t (unsigned 64bit on i386). --- sys/dev/md/md.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 6b46e4bf0a98..803356f5c2cc 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;