Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.bin/indent Pullup 1.10 [is]:
details: https://anonhg.NetBSD.org/src/rev/38462c8816a5
branches: netbsd-1-5
changeset: 489781:38462c8816a5
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 02:16:44 2000 +0000
description:
Pullup 1.10 [is]:
Due to infinite wisdom by the language designers, the difference of pointers
has a type of (int) on i386 and (long) on sparc, and I don't even want to
know what else on other cpu types.
diffstat:
usr.bin/indent/io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 916517d5597d -r 38462c8816a5 usr.bin/indent/io.c
--- a/usr.bin/indent/io.c Tue Oct 17 02:13:41 2000 +0000
+++ b/usr.bin/indent/io.c Tue Oct 17 02:16:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.9 1998/12/19 17:00:08 christos Exp $ */
+/* $NetBSD: io.c,v 1.9.10.1 2000/10/17 02:16:44 tv Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: io.c,v 1.9 1998/12/19 17:00:08 christos Exp $");
+__RCSID("$NetBSD: io.c,v 1.9.10.1 2000/10/17 02:16:44 tv Exp $");
#endif
#endif /* not lint */
@@ -133,7 +133,7 @@
s++;
if (s < e_lab)
fprintf(output, s[0] == '/' && s[1] == '*' ? "\t%.*s" : "\t/* %.*s */",
- e_lab - s, s);
+ (int)(e_lab - s), s);
} else
fprintf(output, "%.*s", (int)(e_lab - s_lab), s_lab);
cur_col = count_spaces(cur_col, s_lab);
Home |
Main Index |
Thread Index |
Old Index