fix printf-format errors in 32-bit builds

This commit is contained in:
Daniel Eklöf 2020-08-06 23:20:46 +02:00
parent 644859019e
commit 019b6bc039
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 5 additions and 4 deletions

2
csi.c
View file

@ -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) {