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_aout.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_aout.c')
-rw-r--r-- | sys/kern/imgact_aout.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index b369df1..3bef3e7 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.23 1996/03/02 19:38:06 peter Exp $ + * $Id: imgact_aout.c,v 1.24 1996/03/03 20:06:53 peter Exp $ */ #include <sys/param.h> @@ -57,7 +57,8 @@ exec_aout_imgact(imgp) { struct exec *a_out = (struct exec *) imgp->image_header; struct vmspace *vmspace = imgp->proc->p_vmspace; - unsigned long vmaddr, virtual_offset; + vm_offset_t vmaddr; + unsigned long virtual_offset; unsigned long file_offset; unsigned long bss_size; int error; |