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/vi/ex Pullup 1.8 [releng]:



details:   https://anonhg.NetBSD.org/src/rev/ec4bec173f22
branches:  netbsd-1-5
changeset: 489857:ec4bec173f22
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 01:45:49 2000 +0000

description:
Pullup 1.8 [releng]:
Fix %l[du] formats that have int arguments on ILP32; might break LP64.

diffstat:

 usr.bin/vi/ex/ex_equal.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r e1e13cc1eda6 -r ec4bec173f22 usr.bin/vi/ex/ex_equal.c
--- a/usr.bin/vi/ex/ex_equal.c  Wed Oct 18 01:45:25 2000 +0000
+++ b/usr.bin/vi/ex/ex_equal.c  Wed Oct 18 01:45:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ex_equal.c,v 1.7 1998/01/09 08:07:47 perry Exp $       */
+/*     $NetBSD: ex_equal.c,v 1.7.10.1 2000/10/18 01:45:49 tv Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -56,6 +56,6 @@
        } else
                lno = cmdp->addr1.lno;
 
-       (void)ex_printf(sp, "%ld\n", lno);
+       (void)ex_printf(sp, "%ld\n", (long)lno);
        return (0);
 }



Home | Main Index | Thread Index | Old Index