Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/vi/common Pull up revision 1.4 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/899cf8b929a7
branches: netbsd-1-4
changeset: 471099:899cf8b929a7
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:33:01 2000 +0000
description:
Pull up revision 1.4 (requested by he):
Format string cleanup.
diffstat:
usr.bin/vi/common/msg.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0933f6388904 -r 899cf8b929a7 usr.bin/vi/common/msg.c
--- a/usr.bin/vi/common/msg.c Thu Oct 19 16:32:58 2000 +0000
+++ b/usr.bin/vi/common/msg.c Thu Oct 19 16:33:01 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.3 1998/07/26 23:14:40 mycroft Exp $ */
+/* $NetBSD: msg.c,v 1.3.2.1 2000/10/19 16:33:01 he Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -474,7 +474,8 @@
*p++ = ' ';
tlen += 2;
}
- len = snprintf(p, MAXNUM, "%lu ", sp->rptlines[cnt]);
+ len = snprintf(p, MAXNUM, "%lu ",
+ (long)sp->rptlines[cnt]);
p += len;
tlen += len;
t = msg_cat(sp,
Home |
Main Index |
Thread Index |
Old Index