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/libopts int/long portability.
details: https://anonhg.NetBSD.org/src/rev/1c109ad6c1a5
branches: trunk
changeset: 749969:1c109ad6c1a5
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 13 23:25:24 2009 +0000
description:
int/long portability.
diffstat:
external/bsd/ntp/dist/libopts/save.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f0bddb2e5b65 -r 1c109ad6c1a5 external/bsd/ntp/dist/libopts/save.c
--- a/external/bsd/ntp/dist/libopts/save.c Sun Dec 13 23:01:42 2009 +0000
+++ b/external/bsd/ntp/dist/libopts/save.c Sun Dec 13 23:25:24 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: save.c,v 1.1.1.1 2009/12/13 16:55:13 kardel Exp $ */
+/* $NetBSD: save.c,v 1.2 2009/12/13 23:25:24 christos Exp $ */
/*
@@ -305,7 +305,7 @@
* THEN the char pointer is really the number
*/
if (OPTST_GET_ARGTYPE(p->fOptState) == OPARG_TYPE_NUMERIC)
- fprintf( fp, " %d\n", (int)(t_word)pzLA );
+ fprintf( fp, " %ld\n", (long)pzLA );
/*
* OTHERWISE, FOR each line of the value text, ...
Home |
Main Index |
Thread Index |
Old Index