Source-Changes-HG archive

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

[src/netbsd-7]: src/external/bsd/ntp/dist/sntp/libopts Wrong branch, backing ...



details:   https://anonhg.NetBSD.org/src/rev/c66ffc1dee41
branches:  netbsd-7
changeset: 799726:c66ffc1dee41
user:      he <he%NetBSD.org@localhost>
date:      Mon Nov 30 10:32:06 2015 +0000

description:
Wrong branch, backing out.

diffstat:

 external/bsd/ntp/dist/sntp/libopts/enum.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b587788e38fd -r c66ffc1dee41 external/bsd/ntp/dist/sntp/libopts/enum.c
--- a/external/bsd/ntp/dist/sntp/libopts/enum.c Mon Nov 30 10:31:04 2015 +0000
+++ b/external/bsd/ntp/dist/sntp/libopts/enum.c Mon Nov 30 10:32:06 2015 +0000
@@ -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 @@
      *  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 */
 



Home | Main Index | Thread Index | Old Index