From owner-cvs-sys Sun Oct 6 12:13:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05237 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:13:55 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05219; Sun, 6 Oct 1996 12:13:41 -0700 (PDT) Date: Sun, 6 Oct 1996 12:13:41 -0700 (PDT) From: Bruce Evans Message-Id: <199610061913.MAA05219@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include types.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/06 12:13:39 Modified: sys/i386/include types.h Log: Cleaned up vm types. Cosmetic. The main change is from unsigned long unsigned int. It just needs to be a 32-bit type and unsigned int is most natural. Using a non-long type has the "advantage" of hiding bugs in the "machine-independent" code where it prints foo_t's using %d or %x. These bugs are currently hidden bug not compiling with -Wformat. I tried changing vm_ooffset_t from long long to unsigned long long, but that was wrong because vm_ooffset_t needs to be long to match off_t, although file offsets are never negative. Reviewed by: dyson Revision Changes Path 1.7 +7 -7 src/sys/i386/include/types.h