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/compat/linux/linux_misc.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/compat/linux/linux_misc.c')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index c78b6b9..6f8ec9e 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.15 1996/03/10 23:25:17 peter Exp $ + * $Id: linux_misc.c,v 1.16 1996/03/12 06:20:14 peter Exp $ */ #include <sys/param.h> @@ -165,8 +165,10 @@ linux_uselib(struct proc *p, struct linux_uselib_args *args, int *retval) struct vnode *vp; struct exec *a_out; struct vattr attr; - unsigned long vmaddr, file_offset; - unsigned long buffer, bss_size; + vm_offset_t vmaddr; + unsigned long file_offset; + vm_offset_t buffer; + unsigned long bss_size; char *ptr; int error; caddr_t sg; |