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/ntpd add cast.
details: https://anonhg.NetBSD.org/src/rev/f43279be4d38
branches: trunk
changeset: 780931:f43279be4d38
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 12 07:22:24 2012 +0000
description:
add cast.
diffstat:
external/bsd/ntp/dist/ntpd/refclock_parse.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 94efc754cb46 -r f43279be4d38 external/bsd/ntp/dist/ntpd/refclock_parse.c
--- a/external/bsd/ntp/dist/ntpd/refclock_parse.c Sun Aug 12 06:16:51 2012 +0000
+++ b/external/bsd/ntp/dist/ntpd/refclock_parse.c Sun Aug 12 07:22:24 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refclock_parse.c,v 1.8 2012/08/12 06:16:51 christos Exp $ */
+/* $NetBSD: refclock_parse.c,v 1.9 2012/08/12 07:22:24 christos Exp $ */
/*
* /src/NTP/REPOSITORY/ntp4-dev/ntpd/refclock_parse.c,v 4.81 2009/05/01 10:15:29 kardel RELEASE_20090105_A
@@ -2434,7 +2434,7 @@
if (l != -1) {
rem--;
- if (rem >= l)
+ if (rem >= (size_t)l)
pos += l;
else
pos += rem;
Home |
Main Index |
Thread Index |
Old Index