mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 04:16:21 +00:00
cleanup: Adapt loop counter to proper type
Fixing a couple of -Wsign-compare warnings.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user