diff options
Diffstat (limited to 'sys/vm')
-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; |