summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-03-14 20:57:48 +0000
committerjhb <jhb@FreeBSD.org>2012-03-14 20:57:48 +0000
commit1e515523f34f2ad301c7a6d35a24f479c7f03688 (patch)
tree76fae84c30864eeae7aa20302822d87728b40c3b /sys/vm
parent71beaf7fd7f9288403495c3ae724b81306eed265 (diff)
downloadFreeBSD-src-1e515523f34f2ad301c7a6d35a24f479c7f03688.zip
FreeBSD-src-1e515523f34f2ad301c7a6d35a24f479c7f03688.tar.gz
Pedantic nit: use vm_pindex_t instead of long for a count of pages.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_phys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
index 8c026e6..4c6857b 100644
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -223,7 +223,7 @@ _vm_phys_create_seg(vm_paddr_t start, vm_paddr_t end, int flind, int domain)
{
struct vm_phys_seg *seg;
#ifdef VM_PHYSSEG_SPARSE
- long pages;
+ vm_pindex_t pages;
int segind;
pages = 0;
OpenPOWER on IntegriCloud