Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/nvi/dist/ex db_recno_t aka recno_t is uint32_t



details:   https://anonhg.NetBSD.org/src/rev/60890b688653
branches:  trunk
changeset: 827775:60890b688653
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Nov 12 15:27:53 2017 +0000

description:
db_recno_t aka recno_t is uint32_t

diffstat:

 external/bsd/nvi/dist/ex/ex_print.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r edf91c2e3c22 -r 60890b688653 external/bsd/nvi/dist/ex/ex_print.c
--- a/external/bsd/nvi/dist/ex/ex_print.c       Sun Nov 12 15:26:33 2017 +0000
+++ b/external/bsd/nvi/dist/ex/ex_print.c       Sun Nov 12 15:27:53 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ex_print.c,v 1.4 2014/01/26 21:43:45 christos Exp $ */
+/*     $NetBSD: ex_print.c,v 1.5 2017/11/12 15:27:53 rin Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -16,7 +16,7 @@
 static const char sccsid[] = "Id: ex_print.c,v 10.24 2001/07/29 19:07:29 skimo Exp  (Berkeley) Date: 2001/07/29 19:07:29 ";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: ex_print.c,v 1.4 2014/01/26 21:43:45 christos Exp $");
+__RCSID("$NetBSD: ex_print.c,v 1.5 2017/11/12 15:27:53 rin Exp $");
 #endif
 
 #include <sys/types.h>
@@ -119,7 +119,7 @@
                 */
                if (LF_ISSET(E_C_HASH)) {
                        if (from <= 999999) {
-                               SPRINTF(buf, SIZE(buf), L("%6ld  "), from);
+                               SPRINTF(buf, SIZE(buf), L("%6u  "), from);
                                p = buf;
                        } else
                                p = L("TOOBIG  ");



Home | Main Index | Thread Index | Old Index