diff options
author | bde <bde@FreeBSD.org> | 1996-03-19 15:03:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-03-19 15:03:00 +0000 |
commit | 450b4c5cf434f35a45a1ff9dd6fc634fd777d712 (patch) | |
tree | 832a264c27be21f32c4604bbdcf83739414789f3 /sys/kern/imgact_gzip.c | |
parent | 16bb0803c0e2d0d807e6eebb114f9e6c95637034 (diff) | |
download | FreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.zip FreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.tar.gz |
Fixed unsigned longs that should have been vm_offset_t.
vm_offset_t is currently unsigned long but should probably be plain
unsigned for i386's to match the choice of minimal types to represent
for fixed-width types in Lite2. Anyway, it shouldn't be assumed
to be unsigned long.
I only fixed the type mismatches that were detected when I changed
vm_offset_t to unsigned. Only pointer type mismatches were detected.
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r-- | sys/kern/imgact_gzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 08da3f3..528887b 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.18 1996/01/19 03:57:56 dyson Exp $ + * $Id: imgact_gzip.c,v 1.19 1996/02/13 14:16:36 phk Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -136,7 +136,7 @@ do_aout_hdr(struct imgact_gzip * gz) { int error; struct vmspace *vmspace = gz->ip->proc->p_vmspace; - u_long vmaddr; + vm_offset_t vmaddr; /* * Set file/virtual offset based on a.out variant. We do two cases: |