diff options
author | alc <alc@FreeBSD.org> | 2005-09-07 01:42:30 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-09-07 01:42:30 +0000 |
commit | dd6197a72f19c2421d29832199b9733578e71b52 (patch) | |
tree | 9f3ced7cf3700b27d6e290045a714d9de94d032d /sys/vm/vm_fault.c | |
parent | 6543a6f5bc2fbc6499b9ee8c5ae2a98eaa8736ad (diff) | |
download | FreeBSD-src-dd6197a72f19c2421d29832199b9733578e71b52.zip FreeBSD-src-dd6197a72f19c2421d29832199b9733578e71b52.tar.gz |
Eliminate an incorrect cast.
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r-- | sys/vm/vm_fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 2dc873a..e0e2383 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -1135,7 +1135,7 @@ vm_fault_copy_entry(dst_map, src_map, dst_entry, src_entry) * actually shadow anything - we copy the pages directly.) */ dst_object = vm_object_allocate(OBJT_DEFAULT, - (vm_size_t) OFF_TO_IDX(dst_entry->end - dst_entry->start)); + OFF_TO_IDX(dst_entry->end - dst_entry->start)); VM_OBJECT_LOCK(dst_object); dst_entry->object.vm_object = dst_object; |