Subject: CVS commit: basesrc/dist/dhcp/minires
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 03/18/2002 22:16:51
Module Name: basesrc
Committed By: bjh21
Date: Mon Mar 18 20:16:50 UTC 2002
Modified Files:
basesrc/dist/dhcp/minires: ns_parse.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/dhcp/minires/ns_parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.