diff options
author | alc <alc@FreeBSD.org> | 2005-07-20 18:41:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-07-20 18:41:08 +0000 |
commit | bef24273aee7f320b6bb36647ef4c44b3baf053e (patch) | |
tree | 60134d4ae06d5315a87c2ecc87b6174bca02c0aa | |
parent | 55fedcd38478d1737ba850b9584cb2719c6fbb01 (diff) | |
download | FreeBSD-src-bef24273aee7f320b6bb36647ef4c44b3baf053e.zip FreeBSD-src-bef24273aee7f320b6bb36647ef4c44b3baf053e.tar.gz |
Eliminate an incorrect (and unnecessary) cast.
-rw-r--r-- | sys/vm/vm_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index d527f83..519163b 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -2518,7 +2518,7 @@ vmspace_fork(struct vmspace *vm1) object = vm_object_allocate(OBJT_DEFAULT, atop(old_entry->end - old_entry->start)); old_entry->object.vm_object = object; - old_entry->offset = (vm_offset_t) 0; + old_entry->offset = 0; } /* |