commit 77e9591fc27fd0f06aaff0cd94880ed1d5de9a75 from: Omar Polo date: Thu Jan 13 19:44:52 2022 UTC fix a couple of printw fmt strings two %d really needs %zu commit - 6a897d0202d809922171a1d7e80227f3933b38b5 commit + 77e9591fc27fd0f06aaff0cd94880ed1d5de9a75 blob - 887489980981c8fc75c260a681e3013f5e9ef439 blob + 50c0198b381a2c23359d22b587c97137ef545377 --- ui.c +++ ui.c @@ -784,7 +784,7 @@ redraw_modeline(struct tab *tab) else wprintw(modeline, "%.0f%% ", pct); - wprintw(modeline, "%d/%d %s ", + wprintw(modeline, "%zu/%zu %s ", buffer->line_off + buffer->curs_y, buffer->line_max, tab->hist_cur->h); @@ -849,7 +849,7 @@ do_redraw_minibuffer(void) wmove(echoarea, 0, 0); if (in_minibuffer == MB_COMPREAD) - wprintw(echoarea, "(%2d) ", + wprintw(echoarea, "(%2zu) ", cmplbuf->line_max); wprintw(echoarea, "%s", ministate.prompt);