cleanup: Adapt loop counter to proper type

Fixing a couple of -Wsign-compare warnings.
This commit is contained in:
Michael Vetter
2026-02-19 12:23:40 +01:00
parent 3e0c9e79e4
commit 6e61383e97
12 changed files with 33 additions and 33 deletions

View File

@@ -1882,7 +1882,7 @@ _win_print_wrapped(WINDOW* win, const char* const message, size_t indent, int pa
int curx = getcurx(win);
int cury;
int maxx = getmaxx(win);
size_t maxx = getmaxx(win);
// wrap required
if (curx + wordlen > maxx) {