make type warning go away
This commit is contained in:
parent
530f00cab6
commit
88bf47c6f4
@ -805,7 +805,7 @@ static inline void display_tooltip(void) {
|
|||||||
wattron(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP));
|
wattron(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP));
|
||||||
waddstr(wtooltip, tooltip);
|
waddstr(wtooltip, tooltip);
|
||||||
// XXX: cheap hack
|
// 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, ' ');
|
waddch(wtooltip, ' ');
|
||||||
}
|
}
|
||||||
wattroff(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP));
|
wattroff(wtooltip, COLOR_PAIR(COLOR_PAIR_TOOLTIP));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user