aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-06 21:20:46 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-06 21:20:46 +0000
commit019b6bc039f318b150b78a1fec3672db71c74a63 (patch)
tree96cd5fc77465d27ac4087f0e1c31bd34415d32bc /csi.c
parentMerge branch 'xmalloc' into master (diff)
fix printf-format errors in 32-bit builds
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
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) {