Module Name:    src
Committed By:   martin
Date:           Thu Jun 24 15:41:25 UTC 2021

Modified Files:
        src/lib/libcurses: slk.c

Log Message:
Fix printf format for size_t


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libcurses/slk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/slk.c
diff -u src/lib/libcurses/slk.c:1.10 src/lib/libcurses/slk.c:1.11
--- src/lib/libcurses/slk.c:1.10	Thu Jun 24 05:53:05 2021
+++ src/lib/libcurses/slk.c	Thu Jun 24 15:41:25 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: slk.c,v 1.10 2021/06/24 05:53:05 blymn Exp $	*/
+/*	$NetBSD: slk.c,v 1.11 2021/06/24 15:41:25 martin Exp $	*/
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: slk.c,v 1.10 2021/06/24 05:53:05 blymn Exp $");
+__RCSID("$NetBSD: slk.c,v 1.11 2021/06/24 15:41:25 martin Exp $");
 #endif				/* not lint */
 
 #include <ctype.h>
@@ -568,7 +568,7 @@ __slk_wset(SCREEN *screen, int labnum, c
 	}
 
 #ifdef DEBUG
-	__CTRACE(__CTRACE_INPUT, "__slk_wset: wcsrtombs %ld\n", len);
+	__CTRACE(__CTRACE_INPUT, "__slk_wset: wcsrtombs %zu\n", len);
 #endif
 	len++; /* We need to store the NULL character. */
 	if ((str = malloc(len)) == NULL)

Reply via email to