From 019b6bc039f318b150b78a1fec3672db71c74a63 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 6 Aug 2020 23:20:46 +0200 Subject: fix printf-format errors in 32-bit builds --- csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index 9e230b63..a0a3eba4 100644 --- a/csi.c +++ b/csi.c @@ -336,7 +336,7 @@ csi_dispatch(struct terminal *term, uint8_t final) * _not_ preceeded by a graphical character. */ int count = vt_param_get(term, 0, 1); - LOG_DBG("REP: '%C' %d times", term->vt.last_printed, count); + LOG_DBG("REP: '%lc' %d times", (wint_t)term->vt.last_printed, count); const int width = wcwidth(term->vt.last_printed); if (width > 0) { -- cgit v1.3