From 88bf47c6f454db43e581a47fab53b00ef14d4067 Mon Sep 17 00:00:00 2001 From: anon <anon@anon.anon> Date: Thu, 26 Oct 2023 19:07:10 +0200 Subject: [PATCH] make type warning go away --- source/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/display.c b/source/display.c index 88727db..a6d14ee 100644 --- a/source/display.c +++ b/source/display.c @@ -805,7 +805,7 @@ static inline void display_tooltip(void) { wattron(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP)); waddstr(wtooltip, tooltip); // XXX: cheap hack - for(int i = 0; i < (tooltip_width - strlen(tooltip)); i++) { + for(size_t i = 0; i < (tooltip_width - strlen(tooltip)); i++) { waddch(wtooltip, ' '); } wattroff(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP));