Date: Sun, 6 Oct 1996 12:13:41 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include types.h Message-ID: <199610061913.MAA05219@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610061913.MAA05219>
