Subject: CVS commit: basesrc/dist/dhcp/server
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 03/18/2002 22:31:03
Module Name:	basesrc
Committed By:	bjh21
Date:		Mon Mar 18 20:31:03 UTC 2002

Modified Files:
	basesrc/dist/dhcp/server: failover.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/server/failover.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.