Source-Changes-HG archive

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

[src/trunk]: src/dist/nvi/cl Need %zu for size_t



details:   https://anonhg.NetBSD.org/src/rev/a5a3a3c16729
branches:  trunk
changeset: 749052:a5a3a3c16729
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Nov 15 18:23:08 2009 +0000

description:
Need %zu for size_t

diffstat:

 dist/nvi/cl/cl_funcs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 75d80b2da3c2 -r a5a3a3c16729 dist/nvi/cl/cl_funcs.c
--- a/dist/nvi/cl/cl_funcs.c    Sun Nov 15 18:17:18 2009 +0000
+++ b/dist/nvi/cl/cl_funcs.c    Sun Nov 15 18:23:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cl_funcs.c,v 1.2 2008/12/05 22:51:42 christos Exp $ */
+/*     $NetBSD: cl_funcs.c,v 1.3 2009/11/15 18:23:08 dsl Exp $ */
 
 /*-
  * Copyright (c) 1993, 1994
@@ -532,7 +532,7 @@
        win = CLSP(sp) ? CLSP(sp) : stdscr;
        /* See the comment in cl_cursor. */
        if (wmove(win, RLNO(sp, lno), RCNO(sp, cno)) == ERR) {
-               msgq(sp, M_ERR, "Error: move: l(%u + %u) c(%u + %u)",
+               msgq(sp, M_ERR, "Error: move: l(%u + %zu) c(%u + %zu)",
                    lno, sp->roff, cno, sp->coff);
                return (1);
        }



Home | Main Index | Thread Index | Old Index