Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 03/09/2002 15:22:55
Module Name: syssrc
Committed By: bjh21
Date: Sat Mar 9 13:22:54 UTC 2002
Modified Files:
basesrc/dist/bind/lib/nameser: ns_parse.c
gnusrc/gnu/dist/gawk: eval.c
gnusrc/gnu/dist/toolchain/bfd: bfd.c format.c
gnusrc/gnu/dist/toolchain/gdb: target.c
syssrc/sys/kern: vfs_subr.c
Log Message:
When checking that a potentially-unsigned enum is >= 0, assign it to an int
first. This is necessary to avoid warnings with -fshort-enums. Casting
to an int really should be enough, but turns out not to be.
This change will be documented in doc/HACKS.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/dist/bind/lib/nameser/ns_parse.c
cvs rdiff -r1.3 -r1.4 gnusrc/gnu/dist/gawk/eval.c
cvs rdiff -r1.1.1.3 -r1.2 gnusrc/gnu/dist/toolchain/bfd/bfd.c \
gnusrc/gnu/dist/toolchain/bfd/format.c
cvs rdiff -r1.1.1.1 -r1.2 gnusrc/gnu/dist/toolchain/gdb/target.c
cvs rdiff -r1.171 -r1.172 syssrc/sys/kern/vfs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.