MFC (by alc)

| Eliminate an incorrect cast.
|
| Revision  Changes    Path
| 1.208     +1 -1      src/sys/vm/vm_fault.c

Approved by:	re (scottl)
This commit is contained in:
delphij 2005-10-09 03:08:28 +00:00
parent a23e4ad2fe
commit f1abc488c4

View File

@ -1134,7 +1134,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;