Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/dhcp/minires add a comment at some code which looks lik...



details:   https://anonhg.NetBSD.org/src/rev/0a30438f1df5
branches:  trunk
changeset: 532638:0a30438f1df5
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Jun 11 14:50:30 2002 +0000

description:
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)

diffstat:

 dist/dhcp/minires/ns_parse.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 6fff6baefcfa -r 0a30438f1df5 dist/dhcp/minires/ns_parse.c
--- a/dist/dhcp/minires/ns_parse.c      Tue Jun 11 14:27:21 2002 +0000
+++ b/dist/dhcp/minires/ns_parse.c      Tue Jun 11 14:50:30 2002 +0000
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: ns_parse.c,v 1.3 2002/03/18 20:16:49 bjh21 Exp $";
+static const char rcsid[] = "$Id: ns_parse.c,v 1.4 2002/06/11 14:50:30 drochner Exp $";
 #endif
 
 /* Import. */
@@ -134,7 +134,7 @@
 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
        int b;
        isc_result_t status;
-       int tmp;
+       int tmp; /* XXX used to force a signed comparision below */
 
        /* Make section right. */
        if ((tmp = section) < 0 || section >= ns_s_max)



Home | Main Index | Thread Index | Old Index