diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-06-29 20:04:38 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-06-29 20:04:38 +0000 |
commit | 0129c1a874352520cb61d904792c32515e6e7ca2 (patch) | |
tree | 0557e17cf7c9a57484e5c735a9cf8cb0cb1415da | |
parent | 2e9c69e765ab86d45503e1ed05388983caf29bf9 (diff) | |
download | FreeBSD-src-0129c1a874352520cb61d904792c32515e6e7ca2.zip FreeBSD-src-0129c1a874352520cb61d904792c32515e6e7ca2.tar.gz |
Change the type of `tscan' in vm_object_page_clean() to vm_pindex_t,
as it stores an absolute page index that may not fit in a vm_offset_t.
-rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index f86a653..4403a24 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -676,7 +676,7 @@ vm_object_page_clean(vm_object_t object, vm_pindex_t start, vm_pindex_t end, int * the size might be in the gigabytes or terrabytes. */ if (msync_flush_flags & MSYNC_FLUSH_HARDSEQ) { - vm_offset_t tscan; + vm_pindex_t tscan; int scanlimit; int scanreset; |