Module Name:    src
Committed By:   he
Date:           Mon Nov 30 10:32:06 UTC 2015

Modified Files:
        src/external/bsd/ntp/dist/sntp/libopts [netbsd-7]: enum.c

Log Message:
Wrong branch, backing out.


To generate a diff of this commit:
cvs rdiff -u -r1.2.6.3 -r1.2.6.4 \
    src/external/bsd/ntp/dist/sntp/libopts/enum.c

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

Modified files:

Index: src/external/bsd/ntp/dist/sntp/libopts/enum.c
diff -u src/external/bsd/ntp/dist/sntp/libopts/enum.c:1.2.6.3 src/external/bsd/ntp/dist/sntp/libopts/enum.c:1.2.6.4
--- src/external/bsd/ntp/dist/sntp/libopts/enum.c:1.2.6.3	Mon Nov 30 10:31:04 2015
+++ src/external/bsd/ntp/dist/sntp/libopts/enum.c	Mon Nov 30 10:32:06 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: enum.c,v 1.2.6.3 2015/11/30 10:31:04 he Exp $	*/
+/*	$NetBSD: enum.c,v 1.2.6.4 2015/11/30 10:32:06 he Exp $	*/
 
 
 /**
@@ -217,7 +217,7 @@ find_name(char const * name, tOptions * 
      *  Multiple partial matches means we have an ambiguous match.
      */
     for (idx = 0; idx < name_ct; idx++) {
-        if (strncmp(paz_names[idx], name, len) == 0) {
+        if (strncmp(paz_names[idx], (const char *)name, len) == 0) {
             if (paz_names[idx][len] == NUL)
                 return idx;  /* full match */
 

Reply via email to