Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/sntp not all characters are born signed.
details: https://anonhg.NetBSD.org/src/rev/8f2c1ee99d39
branches: trunk
changeset: 325563:8f2c1ee99d39
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 29 03:26:07 2013 +0000
description:
not all characters are born signed.
diffstat:
external/bsd/ntp/dist/sntp/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9cdcf50dd4f8 -r 8f2c1ee99d39 external/bsd/ntp/dist/sntp/main.c
--- a/external/bsd/ntp/dist/sntp/main.c Sun Dec 29 00:23:34 2013 +0000
+++ b/external/bsd/ntp/dist/sntp/main.c Sun Dec 29 03:26:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.8 2013/12/28 03:20:15 christos Exp $ */
+/* $NetBSD: main.c,v 1.9 2013/12/29 03:26:07 christos Exp $ */
#include <config.h>
@@ -1398,7 +1398,7 @@
leap = 3;
}
- if (version < 0 || version > 7) {
+ if ((unsigned char)version > 7) {
msyslog(LOG_DEBUG, "set_li_vn_mode: version < 0 or > 7, using 4");
version = 4;
}
Home |
Main Index |
Thread Index |
Old Index